@commercelayer/sdk 7.0.0-beta.12 → 7.0.0-beta.14
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/README.md +48 -35
- package/lib/{api-CB5Dy3ZC.d.cts → api-BLNq5Jhc.d.cts} +140 -4
- package/lib/{api-C0JL7qFH.d.ts → api-BvsFkjzY.d.ts} +140 -4
- package/lib/api.cjs +2 -1
- package/lib/api.d.cts +1 -1
- package/lib/api.d.ts +1 -1
- package/lib/api.js +2 -1
- package/lib/client.cjs +6 -3
- package/lib/client.js +6 -3
- package/lib/commercelayer.cjs +21 -15
- package/lib/commercelayer.d.cts +5 -3
- package/lib/commercelayer.d.ts +5 -3
- package/lib/commercelayer.js +22 -16
- package/lib/common.d.cts +1 -1
- package/lib/common.d.ts +1 -1
- package/lib/error.cjs +0 -1
- package/lib/error.js +0 -1
- package/lib/index.d.cts +1 -1
- package/lib/index.d.ts +1 -1
- 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.cjs +6 -9
- package/lib/resource.d.cts +1 -1
- package/lib/resource.d.ts +1 -1
- package/lib/resource.js +7 -7
- package/lib/resources/addresses.d.cts +1 -1
- package/lib/resources/addresses.d.ts +1 -1
- package/lib/resources/adjustments.d.cts +1 -1
- package/lib/resources/adjustments.d.ts +1 -1
- package/lib/resources/adyen_gateways.d.cts +1 -1
- package/lib/resources/adyen_gateways.d.ts +1 -1
- package/lib/resources/adyen_payments.d.cts +1 -1
- package/lib/resources/adyen_payments.d.ts +1 -1
- package/lib/resources/applications.d.cts +1 -1
- package/lib/resources/applications.d.ts +1 -1
- package/lib/resources/attachments.d.cts +1 -1
- package/lib/resources/attachments.d.ts +1 -1
- package/lib/resources/authorizations.d.cts +1 -1
- package/lib/resources/authorizations.d.ts +1 -1
- package/lib/resources/avalara_accounts.d.cts +1 -1
- package/lib/resources/avalara_accounts.d.ts +1 -1
- package/lib/resources/axerve_gateways.d.cts +1 -1
- package/lib/resources/axerve_gateways.d.ts +1 -1
- package/lib/resources/axerve_payments.d.cts +1 -1
- package/lib/resources/axerve_payments.d.ts +1 -1
- package/lib/resources/bing_geocoders.d.cts +1 -1
- package/lib/resources/bing_geocoders.d.ts +1 -1
- package/lib/resources/braintree_gateways.d.cts +1 -1
- package/lib/resources/braintree_gateways.d.ts +1 -1
- package/lib/resources/braintree_payments.d.cts +1 -1
- package/lib/resources/braintree_payments.d.ts +1 -1
- package/lib/resources/bundles.d.cts +1 -1
- package/lib/resources/bundles.d.ts +1 -1
- package/lib/resources/buy_x_pay_y_promotions.d.cts +1 -1
- package/lib/resources/buy_x_pay_y_promotions.d.ts +1 -1
- package/lib/resources/captures.d.cts +1 -1
- package/lib/resources/captures.d.ts +1 -1
- package/lib/resources/carrier_accounts.d.cts +1 -1
- package/lib/resources/carrier_accounts.d.ts +1 -1
- package/lib/resources/checkout_com_gateways.d.cts +1 -1
- package/lib/resources/checkout_com_gateways.d.ts +1 -1
- package/lib/resources/checkout_com_payments.d.cts +1 -1
- package/lib/resources/checkout_com_payments.d.ts +1 -1
- package/lib/resources/cleanups.d.cts +1 -1
- package/lib/resources/cleanups.d.ts +1 -1
- package/lib/resources/coupon_codes_promotion_rules.d.cts +1 -1
- package/lib/resources/coupon_codes_promotion_rules.d.ts +1 -1
- package/lib/resources/coupon_recipients.d.cts +1 -1
- package/lib/resources/coupon_recipients.d.ts +1 -1
- package/lib/resources/coupons.d.cts +1 -1
- package/lib/resources/coupons.d.ts +1 -1
- package/lib/resources/custom_promotion_rules.d.cts +1 -1
- package/lib/resources/custom_promotion_rules.d.ts +1 -1
- package/lib/resources/customer_addresses.d.cts +1 -1
- package/lib/resources/customer_addresses.d.ts +1 -1
- package/lib/resources/customer_groups.d.cts +1 -1
- package/lib/resources/customer_groups.d.ts +1 -1
- package/lib/resources/customer_password_resets.d.cts +1 -1
- package/lib/resources/customer_password_resets.d.ts +1 -1
- package/lib/resources/customer_payment_sources.d.cts +1 -1
- package/lib/resources/customer_payment_sources.d.ts +1 -1
- package/lib/resources/customer_subscriptions.d.cts +1 -1
- package/lib/resources/customer_subscriptions.d.ts +1 -1
- package/lib/resources/customers.d.cts +1 -1
- package/lib/resources/customers.d.ts +1 -1
- package/lib/resources/delivery_lead_times.d.cts +1 -1
- package/lib/resources/delivery_lead_times.d.ts +1 -1
- package/lib/resources/discount_engine_items.d.cts +1 -1
- package/lib/resources/discount_engine_items.d.ts +1 -1
- package/lib/resources/discount_engines.d.cts +1 -1
- package/lib/resources/discount_engines.d.ts +1 -1
- package/lib/resources/easypost_pickups.d.cts +1 -1
- package/lib/resources/easypost_pickups.d.ts +1 -1
- package/lib/resources/event_callbacks.d.cts +1 -1
- package/lib/resources/event_callbacks.d.ts +1 -1
- package/lib/resources/events.d.cts +1 -1
- package/lib/resources/events.d.ts +1 -1
- package/lib/resources/exports.d.cts +1 -1
- package/lib/resources/exports.d.ts +1 -1
- package/lib/resources/external_gateways.d.cts +1 -1
- package/lib/resources/external_gateways.d.ts +1 -1
- package/lib/resources/external_payments.d.cts +1 -1
- package/lib/resources/external_payments.d.ts +1 -1
- package/lib/resources/external_promotions.d.cts +1 -1
- package/lib/resources/external_promotions.d.ts +1 -1
- package/lib/resources/external_tax_calculators.d.cts +1 -1
- package/lib/resources/external_tax_calculators.d.ts +1 -1
- package/lib/resources/fixed_amount_promotions.d.cts +1 -1
- package/lib/resources/fixed_amount_promotions.d.ts +1 -1
- package/lib/resources/fixed_price_promotions.d.cts +1 -1
- package/lib/resources/fixed_price_promotions.d.ts +1 -1
- package/lib/resources/flex_promotions.d.cts +1 -1
- package/lib/resources/flex_promotions.d.ts +1 -1
- package/lib/resources/free_gift_promotions.d.cts +1 -1
- package/lib/resources/free_gift_promotions.d.ts +1 -1
- package/lib/resources/free_shipping_promotions.d.cts +1 -1
- package/lib/resources/free_shipping_promotions.d.ts +1 -1
- package/lib/resources/geocoders.d.cts +1 -1
- package/lib/resources/geocoders.d.ts +1 -1
- package/lib/resources/gift_card_recipients.d.cts +1 -1
- package/lib/resources/gift_card_recipients.d.ts +1 -1
- package/lib/resources/gift_cards.d.cts +1 -1
- package/lib/resources/gift_cards.d.ts +1 -1
- package/lib/resources/google_geocoders.d.cts +1 -1
- package/lib/resources/google_geocoders.d.ts +1 -1
- package/lib/resources/imports.d.cts +1 -1
- package/lib/resources/imports.d.ts +1 -1
- package/lib/resources/in_stock_subscriptions.d.cts +1 -1
- package/lib/resources/in_stock_subscriptions.d.ts +1 -1
- package/lib/resources/inventory_models.d.cts +1 -1
- package/lib/resources/inventory_models.d.ts +1 -1
- package/lib/resources/inventory_return_locations.d.cts +1 -1
- package/lib/resources/inventory_return_locations.d.ts +1 -1
- package/lib/resources/inventory_stock_locations.d.cts +1 -1
- package/lib/resources/inventory_stock_locations.d.ts +1 -1
- package/lib/resources/klarna_gateways.d.cts +1 -1
- package/lib/resources/klarna_gateways.d.ts +1 -1
- package/lib/resources/klarna_payments.d.cts +1 -1
- package/lib/resources/klarna_payments.d.ts +1 -1
- package/lib/resources/line_item_options.d.cts +1 -1
- package/lib/resources/line_item_options.d.ts +1 -1
- package/lib/resources/line_items.d.cts +1 -1
- package/lib/resources/line_items.d.ts +1 -1
- package/lib/resources/links.d.cts +1 -1
- package/lib/resources/links.d.ts +1 -1
- package/lib/resources/manual_gateways.d.cts +1 -1
- package/lib/resources/manual_gateways.d.ts +1 -1
- package/lib/resources/manual_tax_calculators.d.cts +1 -1
- package/lib/resources/manual_tax_calculators.d.ts +1 -1
- package/lib/resources/markets.d.cts +1 -1
- package/lib/resources/markets.d.ts +1 -1
- package/lib/resources/merchants.d.cts +1 -1
- package/lib/resources/merchants.d.ts +1 -1
- package/lib/resources/notifications.d.cts +1 -1
- package/lib/resources/notifications.d.ts +1 -1
- package/lib/resources/order_amount_promotion_rules.d.cts +1 -1
- package/lib/resources/order_amount_promotion_rules.d.ts +1 -1
- package/lib/resources/order_copies.d.cts +1 -1
- package/lib/resources/order_copies.d.ts +1 -1
- package/lib/resources/order_factories.d.cts +1 -1
- package/lib/resources/order_factories.d.ts +1 -1
- package/lib/resources/order_subscription_items.d.cts +1 -1
- package/lib/resources/order_subscription_items.d.ts +1 -1
- package/lib/resources/order_subscriptions.d.cts +1 -1
- package/lib/resources/order_subscriptions.d.ts +1 -1
- package/lib/resources/orders.d.cts +1 -1
- package/lib/resources/orders.d.ts +1 -1
- package/lib/resources/organizations.d.cts +1 -1
- package/lib/resources/organizations.d.ts +1 -1
- package/lib/resources/packages.d.cts +1 -1
- package/lib/resources/packages.d.ts +1 -1
- package/lib/resources/parcel_line_items.d.cts +1 -1
- package/lib/resources/parcel_line_items.d.ts +1 -1
- package/lib/resources/parcels.d.cts +1 -1
- package/lib/resources/parcels.d.ts +1 -1
- package/lib/resources/payment_gateways.d.cts +1 -1
- package/lib/resources/payment_gateways.d.ts +1 -1
- package/lib/resources/payment_methods.d.cts +1 -1
- package/lib/resources/payment_methods.d.ts +1 -1
- package/lib/resources/payment_options.d.cts +1 -1
- package/lib/resources/payment_options.d.ts +1 -1
- package/lib/resources/paypal_gateways.d.cts +1 -1
- package/lib/resources/paypal_gateways.d.ts +1 -1
- package/lib/resources/paypal_payments.d.cts +1 -1
- package/lib/resources/paypal_payments.d.ts +1 -1
- package/lib/resources/percentage_discount_promotions.d.cts +1 -1
- package/lib/resources/percentage_discount_promotions.d.ts +1 -1
- package/lib/resources/pickups.d.cts +1 -1
- package/lib/resources/pickups.d.ts +1 -1
- package/lib/resources/price_frequency_tiers.d.cts +1 -1
- package/lib/resources/price_frequency_tiers.d.ts +1 -1
- package/lib/resources/price_list_schedulers.d.cts +1 -1
- package/lib/resources/price_list_schedulers.d.ts +1 -1
- package/lib/resources/price_lists.d.cts +1 -1
- package/lib/resources/price_lists.d.ts +1 -1
- package/lib/resources/price_tiers.d.cts +1 -1
- package/lib/resources/price_tiers.d.ts +1 -1
- package/lib/resources/price_volume_tiers.d.cts +1 -1
- package/lib/resources/price_volume_tiers.d.ts +1 -1
- package/lib/resources/prices.d.cts +1 -1
- package/lib/resources/prices.d.ts +1 -1
- package/lib/resources/promotion_rules.d.cts +1 -1
- package/lib/resources/promotion_rules.d.ts +1 -1
- package/lib/resources/promotions.d.cts +1 -1
- package/lib/resources/promotions.d.ts +1 -1
- package/lib/resources/recurring_order_copies.d.cts +1 -1
- package/lib/resources/recurring_order_copies.d.ts +1 -1
- package/lib/resources/refunds.d.cts +1 -1
- package/lib/resources/refunds.d.ts +1 -1
- package/lib/resources/reserved_stocks.d.cts +1 -1
- package/lib/resources/reserved_stocks.d.ts +1 -1
- package/lib/resources/resource_errors.d.cts +1 -1
- package/lib/resources/resource_errors.d.ts +1 -1
- package/lib/resources/return_line_items.d.cts +1 -1
- package/lib/resources/return_line_items.d.ts +1 -1
- package/lib/resources/returns.d.cts +1 -1
- package/lib/resources/returns.d.ts +1 -1
- package/lib/resources/satispay_gateways.d.cts +1 -1
- package/lib/resources/satispay_gateways.d.ts +1 -1
- package/lib/resources/satispay_payments.d.cts +1 -1
- package/lib/resources/satispay_payments.d.ts +1 -1
- package/lib/resources/shipments.d.cts +1 -1
- package/lib/resources/shipments.d.ts +1 -1
- package/lib/resources/shipping_categories.d.cts +1 -1
- package/lib/resources/shipping_categories.d.ts +1 -1
- package/lib/resources/shipping_method_tiers.d.cts +1 -1
- package/lib/resources/shipping_method_tiers.d.ts +1 -1
- package/lib/resources/shipping_methods.d.cts +1 -1
- package/lib/resources/shipping_methods.d.ts +1 -1
- package/lib/resources/shipping_weight_tiers.d.cts +1 -1
- package/lib/resources/shipping_weight_tiers.d.ts +1 -1
- package/lib/resources/shipping_zones.d.cts +1 -1
- package/lib/resources/shipping_zones.d.ts +1 -1
- package/lib/resources/sku_list_items.d.cts +1 -1
- package/lib/resources/sku_list_items.d.ts +1 -1
- package/lib/resources/sku_list_promotion_rules.d.cts +1 -1
- package/lib/resources/sku_list_promotion_rules.d.ts +1 -1
- package/lib/resources/sku_lists.d.cts +1 -1
- package/lib/resources/sku_lists.d.ts +1 -1
- package/lib/resources/sku_options.d.cts +1 -1
- package/lib/resources/sku_options.d.ts +1 -1
- package/lib/resources/skus.d.cts +1 -1
- package/lib/resources/skus.d.ts +1 -1
- package/lib/resources/stock_items.d.cts +1 -1
- package/lib/resources/stock_items.d.ts +1 -1
- package/lib/resources/stock_line_items.d.cts +1 -1
- package/lib/resources/stock_line_items.d.ts +1 -1
- package/lib/resources/stock_locations.d.cts +1 -1
- package/lib/resources/stock_locations.d.ts +1 -1
- package/lib/resources/stock_reservations.d.cts +1 -1
- package/lib/resources/stock_reservations.d.ts +1 -1
- package/lib/resources/stock_transfers.d.cts +1 -1
- package/lib/resources/stock_transfers.d.ts +1 -1
- package/lib/resources/stores.d.cts +1 -1
- package/lib/resources/stores.d.ts +1 -1
- package/lib/resources/stripe_gateways.d.cts +1 -1
- package/lib/resources/stripe_gateways.d.ts +1 -1
- package/lib/resources/stripe_payments.d.cts +1 -1
- package/lib/resources/stripe_payments.d.ts +1 -1
- package/lib/resources/stripe_tax_accounts.d.cts +1 -1
- package/lib/resources/stripe_tax_accounts.d.ts +1 -1
- package/lib/resources/subscription_models.d.cts +1 -1
- package/lib/resources/subscription_models.d.ts +1 -1
- package/lib/resources/tags.d.cts +1 -1
- package/lib/resources/tags.d.ts +1 -1
- package/lib/resources/talon_one_accounts.d.cts +1 -1
- package/lib/resources/talon_one_accounts.d.ts +1 -1
- package/lib/resources/tax_calculators.d.cts +1 -1
- package/lib/resources/tax_calculators.d.ts +1 -1
- package/lib/resources/tax_categories.d.cts +1 -1
- package/lib/resources/tax_categories.d.ts +1 -1
- package/lib/resources/tax_rules.d.cts +1 -1
- package/lib/resources/tax_rules.d.ts +1 -1
- package/lib/resources/taxjar_accounts.d.cts +1 -1
- package/lib/resources/taxjar_accounts.d.ts +1 -1
- package/lib/resources/transactions.d.cts +1 -1
- package/lib/resources/transactions.d.ts +1 -1
- package/lib/resources/versions.d.cts +1 -1
- package/lib/resources/versions.d.ts +1 -1
- package/lib/resources/vertex_accounts.d.cts +1 -1
- package/lib/resources/vertex_accounts.d.ts +1 -1
- package/lib/resources/voids.d.cts +1 -1
- package/lib/resources/voids.d.ts +1 -1
- package/lib/resources/webhooks.d.cts +1 -1
- package/lib/resources/webhooks.d.ts +1 -1
- package/lib/resources/wire_transfers.d.cts +1 -1
- package/lib/resources/wire_transfers.d.ts +1 -1
- package/lib/static.d.cts +1 -1
- package/lib/static.d.ts +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
@@ -63,19 +63,32 @@ You can use the ES6 default import with the SDK like so:
|
|
63
63
|
```javascript
|
64
64
|
import CommerceLayer from '@commercelayer/sdk'
|
65
65
|
|
66
|
+
/*
|
67
|
+
* Organization slug is no longer required as it is taken from the
|
68
|
+
* information included in the access token
|
69
|
+
*/
|
66
70
|
const cl = CommerceLayer({
|
67
|
-
organization: 'your-organization-slug',
|
68
71
|
accessToken: 'your-access-token'
|
69
72
|
})
|
70
73
|
```
|
71
74
|
|
75
|
+
In the SDK v7.x, to enable tree-shaking by the bundler used to create the package for distribution, you must import the client and the required resources separately.
|
76
|
+
|
77
|
+
```javascript
|
78
|
+
import CommerceLayer, { orders } from '@commercelayer/sdk'
|
79
|
+
|
80
|
+
const cl = CommerceLayer({ accessToken })
|
81
|
+
|
82
|
+
const orderList = await orders.list()
|
83
|
+
```
|
84
|
+
|
72
85
|
### Options
|
73
86
|
|
74
87
|
When instantiating a new SDK client you can pass some options to initialize it:
|
75
88
|
|
76
89
|
```javascript
|
77
90
|
{
|
78
|
-
organization
|
91
|
+
organization?: string // The organization slug
|
79
92
|
accessToken: string // A valid API access token
|
80
93
|
timeout?: number // A custom request timout (<= 15 secs [default])
|
81
94
|
headers?: RequestHeaders // Custom request headers
|
@@ -97,7 +110,7 @@ Same options can be changed after SDK initialization or passed at runtime while
|
|
97
110
|
cl.config(options)
|
98
111
|
|
99
112
|
// Use runtime configuration without persisting settings
|
100
|
-
|
113
|
+
customers.list({}, options)
|
101
114
|
```
|
102
115
|
|
103
116
|
## SDK usage
|
@@ -114,7 +127,7 @@ To show you how things work, we will use the [SKUs](https://docs.commercelayer.i
|
|
114
127
|
|
115
128
|
```javascript
|
116
129
|
// Select the shipping category (it's a required relationship for the SKU resource)
|
117
|
-
const shippingCategories = await
|
130
|
+
const shippingCategories = await shipping_categories.list({ filters: { name_eq: 'Merchandising' } })
|
118
131
|
|
119
132
|
const attributes = {
|
120
133
|
code: 'TSHIRTMM000000FFFFFFXL',
|
@@ -122,10 +135,10 @@ To show you how things work, we will use the [SKUs](https://docs.commercelayer.i
|
|
122
135
|
description: "A very beautiful and cozy mens t-shirt",
|
123
136
|
weight: "500",
|
124
137
|
unit_of_weight: "gr"
|
125
|
-
shipping_category:
|
138
|
+
shipping_category: shipping_categories.relationship(shippingCategories[0].id), // assigns the relationship
|
126
139
|
}
|
127
140
|
|
128
|
-
const newSku = await
|
141
|
+
const newSku = await skus.create(attributes)
|
129
142
|
```
|
130
143
|
|
131
144
|
ℹ️ Check our API reference for more information on how to [create an SKU](https://docs.commercelayer.io/developers/v/api-reference/skus/create).
|
@@ -139,16 +152,16 @@ To show you how things work, we will use the [SKUs](https://docs.commercelayer.i
|
|
139
152
|
|
140
153
|
```javascript
|
141
154
|
// Fetch the SKU by ID
|
142
|
-
const sku = await
|
155
|
+
const sku = await skus.retrieve('BxAkSVqKEn')
|
143
156
|
|
144
157
|
// Fetch all SKUs and filter by code
|
145
|
-
const
|
158
|
+
const skuList = await skus.list({ filters: { code_eq: 'TSHIRTMM000000FFFFFFXLXX' } })
|
146
159
|
|
147
160
|
// Fetch the first SKU of the list
|
148
|
-
const
|
161
|
+
const skuList = (await skus.list()).first()
|
149
162
|
|
150
163
|
// Fetch the last SKU of the list
|
151
|
-
const
|
164
|
+
const skuList = (await skus.list()).last()
|
152
165
|
```
|
153
166
|
|
154
167
|
ℹ️ Check our API reference for more information on how to [retrieve an SKU](https://docs.commercelayer.io/developers/v/api-reference/skus/retrieve).
|
@@ -160,13 +173,13 @@ To show you how things work, we will use the [SKUs](https://docs.commercelayer.i
|
|
160
173
|
|
161
174
|
```javascript
|
162
175
|
// Fetch all the SKUs
|
163
|
-
const
|
176
|
+
const skuList = await skus.list()
|
164
177
|
```
|
165
178
|
|
166
179
|
When fetching a collection of resources you can leverage the `meta` attribute to get its `meta` information like so:
|
167
180
|
|
168
181
|
```javascript
|
169
|
-
const
|
182
|
+
const skuList = await skus.list()
|
170
183
|
const meta = skus.meta
|
171
184
|
```
|
172
185
|
|
@@ -179,10 +192,10 @@ When fetching a collection of resources you can leverage the `meta` attribute to
|
|
179
192
|
|
180
193
|
```javascript
|
181
194
|
// Sort the results by creation date in ascending order (default)
|
182
|
-
const
|
195
|
+
const skuList = await skus.list({ sort: { created_at: 'asc' } })
|
183
196
|
|
184
197
|
// Sort the results by creation date in descending order
|
185
|
-
const
|
198
|
+
const skuList = await skus.list({ sort: { created_at: 'desc' } })
|
186
199
|
```
|
187
200
|
|
188
201
|
ℹ️ Check our API reference for more information on how to [sort results](https://docs.commercelayer.io/developers/sorting-results).
|
@@ -194,10 +207,10 @@ When fetching a collection of resources you can leverage the `meta` attribute to
|
|
194
207
|
|
195
208
|
```javascript
|
196
209
|
// Include an association (prices)
|
197
|
-
const
|
210
|
+
const skuList = await skus.list({ include: [ 'prices' ] })
|
198
211
|
|
199
212
|
// Include an association (stock items)
|
200
|
-
const
|
213
|
+
const skuList = await skus.list({ include: [ 'stock_items' ] })
|
201
214
|
```
|
202
215
|
|
203
216
|
ℹ️ Check our API reference for more information on how to [include associations](https://docs.commercelayer.io/developers/including-associations).
|
@@ -209,10 +222,10 @@ When fetching a collection of resources you can leverage the `meta` attribute to
|
|
209
222
|
|
210
223
|
```javascript
|
211
224
|
// Request the API to return only specific fields
|
212
|
-
const
|
225
|
+
const skuList = await skus.list({ fields: { skus: [ 'name', 'metadata' ] } })
|
213
226
|
|
214
227
|
// Request the API to return only specific fields of the included resource
|
215
|
-
const
|
228
|
+
const skuList = await skus.list({ include: [ 'prices' ], fields: { prices: [ 'currency_code', 'formatted_amount' ] } })
|
216
229
|
```
|
217
230
|
|
218
231
|
ℹ️ Check our API reference for more information on how to [use sparse fieldsets](https://docs.commercelayer.io/developers/sparse-fieldsets).
|
@@ -224,25 +237,25 @@ When fetching a collection of resources you can leverage the `meta` attribute to
|
|
224
237
|
|
225
238
|
```javascript
|
226
239
|
// Filter all the SKUs fetching only the ones whose code starts with the string "TSHIRT"
|
227
|
-
const
|
240
|
+
const skuList = await skus.list({ filters: { code_start: 'TSHIRT' } })
|
228
241
|
|
229
242
|
// Filter all the SKUs fetching only the ones whose code ends with the string "XLXX"
|
230
|
-
const
|
243
|
+
const skuList = await skus.list({ filters: { code_end: 'XLXX' } })
|
231
244
|
|
232
245
|
// Filter all the SKUs fetching only the ones whose name contains the string "White Logo"
|
233
|
-
const
|
246
|
+
const skuList = await skus.list({ filters: { name_cont: 'White Logo' } })
|
234
247
|
|
235
248
|
// Filter all the SKUs fetching only the ones created between two specific dates
|
236
249
|
// (filters combined according to the AND logic)
|
237
|
-
const
|
250
|
+
const skuList = await skus.list({ filters: { created_at_gt: '2018-01-01', created_at_lt: '2018-01-31'} })
|
238
251
|
|
239
252
|
// Filters all the SKUs fetching only the ones created or updated after a specific date
|
240
253
|
// (attributes combined according to the OR logic)
|
241
|
-
const
|
254
|
+
const skuList = await skus.list({ filters: { updated_at_or_created_at_gt: '2019-10-10' } })
|
242
255
|
|
243
256
|
// Filters all the SKUs fetching only the ones whose name contains the string "Black"
|
244
257
|
// and whose shipping category name starts with the string "MERCH"
|
245
|
-
const
|
258
|
+
const skuList = await skus.list({ filters: { name_cont: 'Black', shipping_category_name_start: 'MERCH'} })
|
246
259
|
```
|
247
260
|
|
248
261
|
ℹ️ Check our API reference for more information on how to [filter data](https://docs.commercelayer.io/developers/filtering-data).
|
@@ -256,7 +269,7 @@ When you fetch a collection of resources, you get paginated results. You can req
|
|
256
269
|
|
257
270
|
```javascript
|
258
271
|
// Fetch the SKUs, setting the page number to 3 and the page size to 5
|
259
|
-
const
|
272
|
+
const skuList = await skus.list({ pageNumber: 3, pageSize: 5 })
|
260
273
|
|
261
274
|
// Get the total number of SKUs in the collection
|
262
275
|
const skuCount = skus.meta.recordCount
|
@@ -278,7 +291,7 @@ To execute a function for every item of a collection, use the `map()` method lik
|
|
278
291
|
|
279
292
|
```javascript
|
280
293
|
// Fetch the whole list of SKUs (1st page) and print their names and codes to console
|
281
|
-
const
|
294
|
+
const skuList = await skus.list()
|
282
295
|
skus.map(p => console.log('Product: ' + p.name + ' - Code: ' + p.code))
|
283
296
|
```
|
284
297
|
|
@@ -299,10 +312,10 @@ Many resources have relationships with other resources and instead of including
|
|
299
312
|
|
300
313
|
```javascript
|
301
314
|
// Fetch 1-to-1 related resource: billing address of an order
|
302
|
-
const billingAddress = await
|
315
|
+
const billingAddress = await orders.billing_address('xYZkjABcde')
|
303
316
|
|
304
317
|
// Fetch 1-to-N related resources: orders associated to a customer
|
305
|
-
const orders = await
|
318
|
+
const orders = await customers.orders('XyzKjAbCDe', { fields: ['status', 'number'] })
|
306
319
|
```
|
307
320
|
|
308
321
|
In general:
|
@@ -344,7 +357,7 @@ const placedOrders = await cl.orders.count({ filters: { status_eq: 'placed' } })
|
|
344
357
|
imageUrl: 'https://img.yourdomain.com/skus/new-image.png'
|
345
358
|
}
|
346
359
|
|
347
|
-
|
360
|
+
skus.update(sku) // updates the SKU on the server
|
348
361
|
```
|
349
362
|
|
350
363
|
ℹ️ Check our API reference for more information on how to [update an SKU](https://docs.commercelayer.io/developers/v/api-reference/skus/update).
|
@@ -357,7 +370,7 @@ const placedOrders = await cl.orders.count({ filters: { status_eq: 'placed' } })
|
|
357
370
|
<br />
|
358
371
|
|
359
372
|
```javascript
|
360
|
-
|
373
|
+
skus.delete('xYZkjABcde') // persisted deletion
|
361
374
|
```
|
362
375
|
|
363
376
|
ℹ️ Check our API reference for more information on how to [delete an SKU](https://docs.commercelayer.io/developers/v/api-reference/skus/delete).
|
@@ -370,12 +383,12 @@ If needed, Commerce Layer JS SDK lets you change the client configuration and se
|
|
370
383
|
```javascript
|
371
384
|
// Permanently change configuration at client level
|
372
385
|
cl.config({ organization: 'you-organization-slug', accessToken: 'your-access-token' })
|
373
|
-
const
|
386
|
+
const skuList = await skus.list()
|
374
387
|
|
375
388
|
or
|
376
389
|
|
377
390
|
// Use configuration at request level
|
378
|
-
|
391
|
+
skus.list({}, { organization: 'you-organization-slug', accessToken: 'your-access-token' })
|
379
392
|
```
|
380
393
|
|
381
394
|
## Handling validation errors
|
@@ -386,7 +399,7 @@ Commerce Layer API returns specific errors (with extra information) on each attr
|
|
386
399
|
// Log error messages to console:
|
387
400
|
const attributes = { code: 'TSHIRTMM000000FFFFFFXL', name: '' }
|
388
401
|
|
389
|
-
const newSku = await
|
402
|
+
const newSku = await skus.create(attributes).catch(error => console.log(error.errors))
|
390
403
|
|
391
404
|
// Logged errors
|
392
405
|
/*
|
@@ -452,7 +465,7 @@ Here an example of how to use them:
|
|
452
465
|
cl.addRequestInterceptor(requestInterceptor)
|
453
466
|
cl.addResponseInterceptor(responseInterceptor, errorInterceptor)
|
454
467
|
|
455
|
-
const
|
468
|
+
const customerList = await customers.list()
|
456
469
|
|
457
470
|
// Remove interceptors
|
458
471
|
// Tt is possible to remove only a specific interceptor: cl.removeInterceptor('request')
|
@@ -467,7 +480,7 @@ The *RawResponseReader* is a special interceptor that allows to catch the origin
|
|
467
480
|
// Add a RawResponseReader capable of capturing also response headers
|
468
481
|
const rrr = cl.addRawResponseReader({ headers: true })
|
469
482
|
|
470
|
-
const
|
483
|
+
const customerList = await customers.list()
|
471
484
|
|
472
485
|
cl.removeRawResponseReader()
|
473
486
|
|
@@ -106,7 +106,6 @@ declare class ResourceAdapter {
|
|
106
106
|
fetch<R extends Resource>(resource: string | ResourceType, path: string, params?: QueryParams<R>, options?: ResourcesConfig): Promise<R | ListResponse<R>>;
|
107
107
|
}
|
108
108
|
declare abstract class ApiResourceBase<R extends Resource> {
|
109
|
-
#private;
|
110
109
|
static readonly TYPE: ResourceTypeLock;
|
111
110
|
constructor(adapter?: ResourceAdapter);
|
112
111
|
protected get resources(): ResourceAdapter;
|
@@ -16852,8 +16851,145 @@ declare class TalonOneAccounts extends ApiResource<TalonOneAccount> {
|
|
16852
16851
|
}
|
16853
16852
|
declare const instance: TalonOneAccounts;
|
16854
16853
|
|
16855
|
-
|
16856
|
-
|
16854
|
+
/**
|
16855
|
+
export type ResourceTypeLock =
|
16856
|
+
// ##__API_RESOURCE_TYPES_START__##
|
16857
|
+
'addresses'
|
16858
|
+
| 'adjustments'
|
16859
|
+
| 'adyen_gateways'
|
16860
|
+
| 'adyen_payments'
|
16861
|
+
| 'applications'
|
16862
|
+
| 'attachments'
|
16863
|
+
| 'authorizations'
|
16864
|
+
| 'avalara_accounts'
|
16865
|
+
| 'axerve_gateways'
|
16866
|
+
| 'axerve_payments'
|
16867
|
+
| 'bing_geocoders'
|
16868
|
+
| 'braintree_gateways'
|
16869
|
+
| 'braintree_payments'
|
16870
|
+
| 'bundles'
|
16871
|
+
| 'buy_x_pay_y_promotions'
|
16872
|
+
| 'captures'
|
16873
|
+
| 'carrier_accounts'
|
16874
|
+
| 'checkout_com_gateways'
|
16875
|
+
| 'checkout_com_payments'
|
16876
|
+
| 'cleanups'
|
16877
|
+
| 'coupon_codes_promotion_rules'
|
16878
|
+
| 'coupon_recipients'
|
16879
|
+
| 'coupons'
|
16880
|
+
| 'custom_promotion_rules'
|
16881
|
+
| 'customer_addresses'
|
16882
|
+
| 'customer_groups'
|
16883
|
+
| 'customer_password_resets'
|
16884
|
+
| 'customer_payment_sources'
|
16885
|
+
| 'customer_subscriptions'
|
16886
|
+
| 'customers'
|
16887
|
+
| 'delivery_lead_times'
|
16888
|
+
| 'discount_engine_items'
|
16889
|
+
| 'discount_engines'
|
16890
|
+
| 'easypost_pickups'
|
16891
|
+
| 'event_callbacks'
|
16892
|
+
| 'events'
|
16893
|
+
| 'exports'
|
16894
|
+
| 'external_gateways'
|
16895
|
+
| 'external_payments'
|
16896
|
+
| 'external_promotions'
|
16897
|
+
| 'external_tax_calculators'
|
16898
|
+
| 'fixed_amount_promotions'
|
16899
|
+
| 'fixed_price_promotions'
|
16900
|
+
| 'flex_promotions'
|
16901
|
+
| 'free_gift_promotions'
|
16902
|
+
| 'free_shipping_promotions'
|
16903
|
+
| 'geocoders'
|
16904
|
+
| 'gift_card_recipients'
|
16905
|
+
| 'gift_cards'
|
16906
|
+
| 'google_geocoders'
|
16907
|
+
| 'imports'
|
16908
|
+
| 'in_stock_subscriptions'
|
16909
|
+
| 'inventory_models'
|
16910
|
+
| 'inventory_return_locations'
|
16911
|
+
| 'inventory_stock_locations'
|
16912
|
+
| 'klarna_gateways'
|
16913
|
+
| 'klarna_payments'
|
16914
|
+
| 'line_item_options'
|
16915
|
+
| 'line_items'
|
16916
|
+
| 'links'
|
16917
|
+
| 'manual_gateways'
|
16918
|
+
| 'manual_tax_calculators'
|
16919
|
+
| 'markets'
|
16920
|
+
| 'merchants'
|
16921
|
+
| 'notifications'
|
16922
|
+
| 'order_amount_promotion_rules'
|
16923
|
+
| 'order_copies'
|
16924
|
+
| 'order_factories'
|
16925
|
+
| 'order_subscription_items'
|
16926
|
+
| 'order_subscriptions'
|
16927
|
+
| 'orders'
|
16928
|
+
| 'organizations'
|
16929
|
+
| 'packages'
|
16930
|
+
| 'parcel_line_items'
|
16931
|
+
| 'parcels'
|
16932
|
+
| 'payment_gateways'
|
16933
|
+
| 'payment_methods'
|
16934
|
+
| 'payment_options'
|
16935
|
+
| 'paypal_gateways'
|
16936
|
+
| 'paypal_payments'
|
16937
|
+
| 'percentage_discount_promotions'
|
16938
|
+
| 'pickups'
|
16939
|
+
| 'price_frequency_tiers'
|
16940
|
+
| 'price_list_schedulers'
|
16941
|
+
| 'price_lists'
|
16942
|
+
| 'price_tiers'
|
16943
|
+
| 'price_volume_tiers'
|
16944
|
+
| 'prices'
|
16945
|
+
| 'promotion_rules'
|
16946
|
+
| 'promotions'
|
16947
|
+
| 'recurring_order_copies'
|
16948
|
+
| 'refunds'
|
16949
|
+
| 'reserved_stocks'
|
16950
|
+
| 'resource_errors'
|
16951
|
+
| 'return_line_items'
|
16952
|
+
| 'returns'
|
16953
|
+
| 'satispay_gateways'
|
16954
|
+
| 'satispay_payments'
|
16955
|
+
| 'shipments'
|
16956
|
+
| 'shipping_categories'
|
16957
|
+
| 'shipping_method_tiers'
|
16958
|
+
| 'shipping_methods'
|
16959
|
+
| 'shipping_weight_tiers'
|
16960
|
+
| 'shipping_zones'
|
16961
|
+
| 'sku_list_items'
|
16962
|
+
| 'sku_list_promotion_rules'
|
16963
|
+
| 'sku_lists'
|
16964
|
+
| 'sku_options'
|
16965
|
+
| 'skus'
|
16966
|
+
| 'stock_items'
|
16967
|
+
| 'stock_line_items'
|
16968
|
+
| 'stock_locations'
|
16969
|
+
| 'stock_reservations'
|
16970
|
+
| 'stock_transfers'
|
16971
|
+
| 'stores'
|
16972
|
+
| 'stripe_gateways'
|
16973
|
+
| 'stripe_payments'
|
16974
|
+
| 'stripe_tax_accounts'
|
16975
|
+
| 'subscription_models'
|
16976
|
+
| 'tags'
|
16977
|
+
| 'talon_one_accounts'
|
16978
|
+
| 'tax_calculators'
|
16979
|
+
| 'tax_categories'
|
16980
|
+
| 'tax_rules'
|
16981
|
+
| 'taxjar_accounts'
|
16982
|
+
| 'transactions'
|
16983
|
+
| 'versions'
|
16984
|
+
| 'vertex_accounts'
|
16985
|
+
| 'voids'
|
16986
|
+
| 'webhooks'
|
16987
|
+
| 'wire_transfers'
|
16988
|
+
// ##__API_RESOURCE_TYPES_STOP__##
|
16989
|
+
**/
|
16990
|
+
declare const apiResources: readonly ["addresses", "adjustments", "adyen_gateways", "adyen_payments", "applications", "attachments", "authorizations", "avalara_accounts", "axerve_gateways", "axerve_payments", "bing_geocoders", "braintree_gateways", "braintree_payments", "bundles", "buy_x_pay_y_promotions", "captures", "carrier_accounts", "checkout_com_gateways", "checkout_com_payments", "cleanups", "coupon_codes_promotion_rules", "coupon_recipients", "coupons", "custom_promotion_rules", "customer_addresses", "customer_groups", "customer_password_resets", "customer_payment_sources", "customer_subscriptions", "customers", "delivery_lead_times", "discount_engine_items", "discount_engines", "easypost_pickups", "event_callbacks", "events", "exports", "external_gateways", "external_payments", "external_promotions", "external_tax_calculators", "fixed_amount_promotions", "fixed_price_promotions", "flex_promotions", "free_gift_promotions", "free_shipping_promotions", "geocoders", "gift_card_recipients", "gift_cards", "google_geocoders", "imports", "in_stock_subscriptions", "inventory_models", "inventory_return_locations", "inventory_stock_locations", "klarna_gateways", "klarna_payments", "line_item_options", "line_items", "links", "manual_gateways", "manual_tax_calculators", "markets", "merchants", "notifications", "order_amount_promotion_rules", "order_copies", "order_factories", "order_subscription_items", "order_subscriptions", "orders", "organizations", "packages", "parcel_line_items", "parcels", "payment_gateways", "payment_methods", "payment_options", "paypal_gateways", "paypal_payments", "percentage_discount_promotions", "pickups", "price_frequency_tiers", "price_list_schedulers", "price_lists", "price_tiers", "price_volume_tiers", "prices", "promotion_rules", "promotions", "recurring_order_copies", "refunds", "reserved_stocks", "resource_errors", "return_line_items", "returns", "satispay_gateways", "satispay_payments", "shipments", "shipping_categories", "shipping_method_tiers", "shipping_methods", "shipping_weight_tiers", "shipping_zones", "sku_list_items", "sku_list_promotion_rules", "sku_lists", "sku_options", "skus", "stock_items", "stock_line_items", "stock_locations", "stock_reservations", "stock_transfers", "stores", "stripe_gateways", "stripe_payments", "stripe_tax_accounts", "subscription_models", "tags", "talon_one_accounts", "tax_calculators", "tax_categories", "tax_rules", "taxjar_accounts", "transactions", "versions", "vertex_accounts", "voids", "webhooks", "wire_transfers"];
|
16991
|
+
type ResourceTypeLock = typeof apiResources[number];
|
16992
|
+
declare const resourceList: Readonly<ResourceTypeLock[]>;
|
16857
16993
|
declare const singletonList: ResourceTypeLock[];
|
16858
16994
|
type RetrievableResourceType = ResourceTypeLock;
|
16859
16995
|
type RetrievableResource = Resource & {
|
@@ -17156,4 +17292,4 @@ type ResourceSortFields = {
|
|
17156
17292
|
wire_transfers: WireTransferSort;
|
17157
17293
|
};
|
17158
17294
|
|
17159
|
-
export { instance$1F as $, instance$i as A, instance$1P as B, type CreatableResourceType as C, type DeletableResourceType as D, instance$h as E, instance$g as F, instance$1O as G, instance$1i as H, instance$12 as I, instance$1y as J, instance$M as K, type ListableResourceType as L, instance$f as M, instance$1N as N, instance$e as O, instance$13 as P, instance$1c as Q, type ResourceId as R, instance$1b as S, type TaggableResourceType as T, type UpdatableResourceType as U, type VersionableResourceType as V, instance$15 as W, instance$1U as X, instance$1Y as Y, instance$d as Z, instance$1G as _, type ResourceType as a, instance$1t as a$, instance$U as a0, instance$1q as a1, instance$1d as a2, instance$1e as a3, instance$c as a4, instance$1X as a5, instance$1V as a6, instance$b as a7, instance$a as a8, instance$1M as a9, instance$$ as aA, instance$S as aB, instance$X as aC, instance$Y as aD, instance$V as aE, instance$R as aF, instance$4 as aG, instance$Q as aH, instance$P as aI, instance$O as aJ, instance$1T as aK, instance$1R as aL, instance$T as aM, instance$3 as aN, instance$1K as aO, instance$_ as aP, instance$N as aQ, instance$E as aR, instance$C as aS, instance$B as aT, instance$G as aU, instance$F as aV, instance$D as aW, instance$17 as aX, instance$z as aY, instance$W as aZ, instance$1z as a_, instance$1a as aa, instance$r as ab, instance$19 as ac, instance$16 as ad, instance$18 as ae, instance$14 as af, instance$10 as ag, instance$m as ah, instance$1h as ai, instance$1g as aj, instance$9 as ak, instance$8 as al, instance$7 as am, instance$1_ as an, instance$1$ as ao, instance$1Z as ap, instance$6 as aq, instance$1L as ar, instance$1C as as, instance$Z as at, instance$1k as au, instance$5 as av, instance$s as aw, instance$n as ax, instance$o as ay, instance$1m as az, type Resource as b, type ResourceFilter as b$, instance$1x as b0, instance$1v as b1, instance$1w as b2, instance$2 as b3, instance$1J as b4, instance$L as b5, instance$20 as b6, instance$1p as b7, instance$1n as b8, instance$1o as b9, instance$1W as bA, instance$1H as bB, generateQueryStringParams as bC, isParamsList as bD, generateSearchString as bE, type QueryInclude as bF, type QueryArrayFields as bG, type QueryRecordFields as bH, type QueryFields as bI, type QueryParamsRetrieve as bJ, type QueryArraySortable as bK, type QueryRecordSortable as bL, type QuerySort as bM, type QueryFilter as bN, type QueryPageNumber as bO, type QueryPageSize as bP, type QueryParamsList as bQ, type QueryParams as bR, type Metadata as bS, ListResponse as bT, type ListMeta as bU, type ResourceRel as bV, ApiResource as bW, ApiSingleton as bX, type ResourcesConfig as bY, ResourceAdapter as bZ, type ResourceSort as b_, instance$1r as ba, instance$1l as bb, instance$11 as bc, instance$1j as bd, instance$1D as be, instance$H as bf, instance$I as bg, instance$1u as bh, instance$J as bi, instance$1s as bj, instance$K as bk, instance$1S as bl, instance$1 as bm, instance$1I as bn, instance$w as bo, instance$1E as bp, instance$22 as bq, instance as br, instance$y as bs, instance$q as bt, instance$t as bu, instance$u as bv, instance$A as bw, instance$21 as bx, instance$v as by, instance$1B as bz, type ResourceCreate as c, type CarrierAccountUpdate as c$, ApiResourceAdapter as c0, type Address as c1, type AddressCreate as c2, type AddressUpdate as c3, type AddressSort as c4, type Adjustment as c5, type AdjustmentCreate as c6, type AdjustmentUpdate as c7, type AdjustmentSort as c8, type AdyenGateway as c9, type AxervePaymentUpdate as cA, type AxervePaymentSort as cB, type BingGeocoder as cC, type BingGeocoderCreate as cD, type BingGeocoderUpdate as cE, type BingGeocoderSort as cF, type BraintreeGateway as cG, type BraintreeGatewayCreate as cH, type BraintreeGatewayUpdate as cI, type BraintreeGatewaySort as cJ, type BraintreePayment as cK, type BraintreePaymentCreate as cL, type BraintreePaymentUpdate as cM, type BraintreePaymentSort as cN, type Bundle as cO, type BundleCreate as cP, type BundleUpdate as cQ, type BundleSort as cR, type BuyXPayYPromotion as cS, type BuyXPayYPromotionCreate as cT, type BuyXPayYPromotionUpdate as cU, type BuyXPayYPromotionSort as cV, type Capture as cW, type CaptureUpdate as cX, type CaptureSort as cY, type CarrierAccount as cZ, type CarrierAccountCreate as c_, type AdyenGatewayCreate as ca, type AdyenGatewayUpdate as cb, type AdyenGatewaySort as cc, type AdyenPayment as cd, type AdyenPaymentCreate as ce, type AdyenPaymentUpdate as cf, type AdyenPaymentSort as cg, type Application as ch, type ApplicationSort as ci, type Attachment as cj, type AttachmentCreate as ck, type AttachmentUpdate as cl, type AttachmentSort as cm, type Authorization as cn, type AuthorizationUpdate as co, type AuthorizationSort as cp, type AvalaraAccount as cq, type AvalaraAccountCreate as cr, type AvalaraAccountUpdate as cs, type AvalaraAccountSort as ct, type AxerveGateway as cu, type AxerveGatewayCreate as cv, type AxerveGatewayUpdate as cw, type AxerveGatewaySort as cx, type AxervePayment as cy, type AxervePaymentCreate as cz, type ResourceUpdate as d, type EasypostPickupCreate as d$, type CarrierAccountSort as d0, type CheckoutComGateway as d1, type CheckoutComGatewayCreate as d2, type CheckoutComGatewayUpdate as d3, type CheckoutComGatewaySort as d4, type CheckoutComPayment as d5, type CheckoutComPaymentCreate as d6, type CheckoutComPaymentUpdate as d7, type CheckoutComPaymentSort as d8, type Cleanup as d9, type CustomerGroupUpdate as dA, type CustomerGroupSort as dB, type CustomerPasswordReset as dC, type CustomerPasswordResetCreate as dD, type CustomerPasswordResetUpdate as dE, type CustomerPasswordResetSort as dF, type CustomerPaymentSource as dG, type CustomerPaymentSourceCreate as dH, type CustomerPaymentSourceUpdate as dI, type CustomerPaymentSourceSort as dJ, type CustomerSubscription as dK, type CustomerSubscriptionCreate as dL, type CustomerSubscriptionUpdate as dM, type CustomerSubscriptionSort as dN, type Customer as dO, type CustomerCreate as dP, type CustomerUpdate as dQ, type CustomerSort as dR, type DeliveryLeadTime as dS, type DeliveryLeadTimeCreate as dT, type DeliveryLeadTimeUpdate as dU, type DeliveryLeadTimeSort as dV, type DiscountEngineItem as dW, type DiscountEngineItemSort as dX, type DiscountEngine as dY, type DiscountEngineSort as dZ, type EasypostPickup as d_, type CleanupCreate as da, type CleanupUpdate as db, type CleanupSort as dc, type CouponCodesPromotionRule as dd, type CouponCodesPromotionRuleCreate as de, type CouponCodesPromotionRuleUpdate as df, type CouponCodesPromotionRuleSort as dg, type CouponRecipient as dh, type CouponRecipientCreate as di, type CouponRecipientUpdate as dj, type CouponRecipientSort as dk, type Coupon as dl, type CouponCreate as dm, type CouponUpdate as dn, type CouponSort as dp, type CustomPromotionRule as dq, type CustomPromotionRuleCreate as dr, type CustomPromotionRuleUpdate as ds, type CustomPromotionRuleSort as dt, type CustomerAddress as du, type CustomerAddressCreate as dv, type CustomerAddressUpdate as dw, type CustomerAddressSort as dx, type CustomerGroup as dy, type CustomerGroupCreate as dz, type ResourcesInitConfig as e, type ImportUpdate as e$, type EasypostPickupUpdate as e0, type EasypostPickupSort as e1, type EventCallback as e2, type EventCallbackSort as e3, type Event as e4, type EventUpdate as e5, type EventSort as e6, type Export as e7, type ExportCreate as e8, type ExportUpdate as e9, type FlexPromotionCreate as eA, type FlexPromotionUpdate as eB, type FlexPromotionSort as eC, type FreeGiftPromotion as eD, type FreeGiftPromotionCreate as eE, type FreeGiftPromotionUpdate as eF, type FreeGiftPromotionSort as eG, type FreeShippingPromotion as eH, type FreeShippingPromotionCreate as eI, type FreeShippingPromotionUpdate as eJ, type FreeShippingPromotionSort as eK, type Geocoder as eL, type GeocoderSort as eM, type GiftCardRecipient as eN, type GiftCardRecipientCreate as eO, type GiftCardRecipientUpdate as eP, type GiftCardRecipientSort as eQ, type GiftCard as eR, type GiftCardCreate as eS, type GiftCardUpdate as eT, type GiftCardSort as eU, type GoogleGeocoder as eV, type GoogleGeocoderCreate as eW, type GoogleGeocoderUpdate as eX, type GoogleGeocoderSort as eY, type Import as eZ, type ImportCreate as e_, type ExportSort as ea, type ExternalGateway as eb, type ExternalGatewayCreate as ec, type ExternalGatewayUpdate as ed, type ExternalGatewaySort as ee, type ExternalPayment as ef, type ExternalPaymentCreate as eg, type ExternalPaymentUpdate as eh, type ExternalPaymentSort as ei, type ExternalPromotion as ej, type ExternalPromotionCreate as ek, type ExternalPromotionUpdate as el, type ExternalPromotionSort as em, type ExternalTaxCalculator as en, type ExternalTaxCalculatorCreate as eo, type ExternalTaxCalculatorUpdate as ep, type ExternalTaxCalculatorSort as eq, type FixedAmountPromotion as er, type FixedAmountPromotionCreate as es, type FixedAmountPromotionUpdate as et, type FixedAmountPromotionSort as eu, type FixedPricePromotion as ev, type FixedPricePromotionCreate as ew, type FixedPricePromotionUpdate as ex, type FixedPricePromotionSort as ey, type FlexPromotion as ez, type ResourceTypeLock as f, type OrderCopyUpdate as f$, type ImportSort as f0, type InStockSubscription as f1, type InStockSubscriptionCreate as f2, type InStockSubscriptionUpdate as f3, type InStockSubscriptionSort as f4, type InventoryModel as f5, type InventoryModelCreate as f6, type InventoryModelUpdate as f7, type InventoryModelSort as f8, type InventoryReturnLocation as f9, type LinkSort as fA, type ManualGateway as fB, type ManualGatewayCreate as fC, type ManualGatewayUpdate as fD, type ManualGatewaySort as fE, type ManualTaxCalculator as fF, type ManualTaxCalculatorCreate as fG, type ManualTaxCalculatorUpdate as fH, type ManualTaxCalculatorSort as fI, type Market as fJ, type MarketCreate as fK, type MarketUpdate as fL, type MarketSort as fM, type Merchant as fN, type MerchantCreate as fO, type MerchantUpdate as fP, type MerchantSort as fQ, type Notification as fR, type NotificationCreate as fS, type NotificationUpdate as fT, type NotificationSort as fU, type OrderAmountPromotionRule as fV, type OrderAmountPromotionRuleCreate as fW, type OrderAmountPromotionRuleUpdate as fX, type OrderAmountPromotionRuleSort as fY, type OrderCopy as fZ, type OrderCopyCreate as f_, type InventoryReturnLocationCreate as fa, type InventoryReturnLocationUpdate as fb, type InventoryReturnLocationSort as fc, type InventoryStockLocation as fd, type InventoryStockLocationCreate as fe, type InventoryStockLocationUpdate as ff, type InventoryStockLocationSort as fg, type KlarnaGateway as fh, type KlarnaGatewayCreate as fi, type KlarnaGatewayUpdate as fj, type KlarnaGatewaySort as fk, type KlarnaPayment as fl, type KlarnaPaymentCreate as fm, type KlarnaPaymentUpdate as fn, type KlarnaPaymentSort as fo, type LineItemOption as fp, type LineItemOptionCreate as fq, type LineItemOptionUpdate as fr, type LineItemOptionSort as fs, type LineItem as ft, type LineItemCreate as fu, type LineItemUpdate as fv, type LineItemSort as fw, type Link as fx, type LinkCreate as fy, type LinkUpdate as fz, type RetrievableResourceType as g, type PriceListUpdate as g$, type OrderCopySort as g0, type OrderFactory as g1, type OrderFactorySort as g2, type OrderSubscriptionItem as g3, type OrderSubscriptionItemCreate as g4, type OrderSubscriptionItemUpdate as g5, type OrderSubscriptionItemSort as g6, type OrderSubscription as g7, type OrderSubscriptionCreate as g8, type OrderSubscriptionUpdate as g9, type PaymentOptionCreate as gA, type PaymentOptionUpdate as gB, type PaymentOptionSort as gC, type PaypalGateway as gD, type PaypalGatewayCreate as gE, type PaypalGatewayUpdate as gF, type PaypalGatewaySort as gG, type PaypalPayment as gH, type PaypalPaymentCreate as gI, type PaypalPaymentUpdate as gJ, type PaypalPaymentSort as gK, type PercentageDiscountPromotion as gL, type PercentageDiscountPromotionCreate as gM, type PercentageDiscountPromotionUpdate as gN, type PercentageDiscountPromotionSort as gO, type Pickup as gP, type PickupSort as gQ, type PriceFrequencyTier as gR, type PriceFrequencyTierCreate as gS, type PriceFrequencyTierUpdate as gT, type PriceFrequencyTierSort as gU, type PriceListScheduler as gV, type PriceListSchedulerCreate as gW, type PriceListSchedulerUpdate as gX, type PriceListSchedulerSort as gY, type PriceList as gZ, type PriceListCreate as g_, type OrderSubscriptionSort as ga, type Order as gb, type OrderCreate as gc, type OrderUpdate as gd, type OrderSort as ge, type Organization as gf, type OrganizationSort as gg, type Package as gh, type PackageCreate as gi, type PackageUpdate as gj, type PackageSort as gk, type ParcelLineItem as gl, type ParcelLineItemCreate as gm, type ParcelLineItemUpdate as gn, type ParcelLineItemSort as go, type Parcel as gp, type ParcelCreate as gq, type ParcelUpdate as gr, type ParcelSort as gs, type PaymentGateway as gt, type PaymentGatewaySort as gu, type PaymentMethod as gv, type PaymentMethodCreate as gw, type PaymentMethodUpdate as gx, type PaymentMethodSort as gy, type PaymentOption as gz, type RetrievableResource as h, type ShippingZoneSort as h$, type PriceListSort as h0, type PriceTier as h1, type PriceTierSort as h2, type PriceVolumeTier as h3, type PriceVolumeTierCreate as h4, type PriceVolumeTierUpdate as h5, type PriceVolumeTierSort as h6, type Price as h7, type PriceCreate as h8, type PriceUpdate as h9, type SatispayGatewayUpdate as hA, type SatispayGatewaySort as hB, type SatispayPayment as hC, type SatispayPaymentCreate as hD, type SatispayPaymentUpdate as hE, type SatispayPaymentSort as hF, type Shipment as hG, type ShipmentCreate as hH, type ShipmentUpdate as hI, type ShipmentSort as hJ, type ShippingCategory as hK, type ShippingCategoryCreate as hL, type ShippingCategoryUpdate as hM, type ShippingCategorySort as hN, type ShippingMethodTier as hO, type ShippingMethodTierSort as hP, type ShippingMethod as hQ, type ShippingMethodCreate as hR, type ShippingMethodUpdate as hS, type ShippingMethodSort as hT, type ShippingWeightTier as hU, type ShippingWeightTierCreate as hV, type ShippingWeightTierUpdate as hW, type ShippingWeightTierSort as hX, type ShippingZone as hY, type ShippingZoneCreate as hZ, type ShippingZoneUpdate as h_, type PriceSort as ha, type PromotionRule as hb, type PromotionRuleSort as hc, type Promotion as hd, type PromotionSort as he, type RecurringOrderCopy as hf, type RecurringOrderCopyCreate as hg, type RecurringOrderCopyUpdate as hh, type RecurringOrderCopySort as hi, type Refund as hj, type RefundUpdate as hk, type RefundSort as hl, type ReservedStock as hm, type ReservedStockSort as hn, type ResourceError as ho, type ResourceErrorSort as hp, type ReturnLineItem as hq, type ReturnLineItemCreate as hr, type ReturnLineItemUpdate as hs, type ReturnLineItemSort as ht, type Return as hu, type ReturnCreate as hv, type ReturnUpdate as hw, type ReturnSort as hx, type SatispayGateway as hy, type SatispayGatewayCreate as hz, type ListableResource as i, type TagCreate as i$, type SkuListItem as i0, type SkuListItemCreate as i1, type SkuListItemUpdate as i2, type SkuListItemSort as i3, type SkuListPromotionRule as i4, type SkuListPromotionRuleCreate as i5, type SkuListPromotionRuleUpdate as i6, type SkuListPromotionRuleSort as i7, type SkuList as i8, type SkuListCreate as i9, type StockReservationUpdate as iA, type StockReservationSort as iB, type StockTransfer as iC, type StockTransferCreate as iD, type StockTransferUpdate as iE, type StockTransferSort as iF, type Store as iG, type StoreCreate as iH, type StoreUpdate as iI, type StoreSort as iJ, type StripeGateway as iK, type StripeGatewayCreate as iL, type StripeGatewayUpdate as iM, type StripeGatewaySort as iN, type StripePayment as iO, type StripePaymentCreate as iP, type StripePaymentUpdate as iQ, type StripePaymentSort as iR, type StripeTaxAccount as iS, type StripeTaxAccountCreate as iT, type StripeTaxAccountUpdate as iU, type StripeTaxAccountSort as iV, type SubscriptionModel as iW, type SubscriptionModelCreate as iX, type SubscriptionModelUpdate as iY, type SubscriptionModelSort as iZ, type Tag as i_, type SkuListUpdate as ia, type SkuListSort as ib, type SkuOption as ic, type SkuOptionCreate as id, type SkuOptionUpdate as ie, type SkuOptionSort as ig, type Sku as ih, type SkuCreate as ii, type SkuUpdate as ij, type SkuSort as ik, type StockItem as il, type StockItemCreate as im, type StockItemUpdate as io, type StockItemSort as ip, type StockLineItem as iq, type StockLineItemCreate as ir, type StockLineItemUpdate as is, type StockLineItemSort as it, type StockLocation as iu, type StockLocationCreate as iv, type StockLocationUpdate as iw, type StockLocationSort as ix, type StockReservation as iy, type StockReservationCreate as iz, type CreatableResource as j, type CustomerPaymentSourceType as j$, type TagUpdate as j0, type TagSort as j1, type TalonOneAccount as j2, type TalonOneAccountCreate as j3, type TalonOneAccountUpdate as j4, type TalonOneAccountSort as j5, type TaxCalculator as j6, type TaxCalculatorSort as j7, type TaxCategory as j8, type TaxCategoryCreate as j9, type WireTransferCreate as jA, type WireTransferUpdate as jB, type WireTransferSort as jC, type TagType as jD, type VersionType as jE, type ShippingCategoryType as jF, type InventoryReturnLocationType as jG, type InventoryModelType as jH, type InventoryStockLocationType as jI, type CustomerGroupType as jJ, type EventCallbackType as jK, type WebhookType as jL, type EventType as jM, type CustomerAddressType as jN, type PaymentGatewayType as jO, type StoreType as jP, type PaymentMethodType as jQ, type AdyenPaymentType as jR, type AxervePaymentType as jS, type BraintreePaymentType as jT, type CheckoutComPaymentType as jU, type ExternalPaymentType as jV, type KlarnaPaymentType as jW, type PaypalPaymentType as jX, type SatispayPaymentType as jY, type StripePaymentType as jZ, type WireTransferType as j_, type TaxCategoryUpdate as ja, type TaxCategorySort as jb, type TaxRule as jc, type TaxRuleCreate as jd, type TaxRuleUpdate as je, type TaxRuleSort as jf, type TaxjarAccount as jg, type TaxjarAccountCreate as jh, type TaxjarAccountUpdate as ji, type TaxjarAccountSort as jj, type Transaction as jk, type TransactionSort as jl, type Version as jm, type VersionSort as jn, type VertexAccount as jo, type VertexAccountCreate as jp, type VertexAccountUpdate as jq, type VertexAccountSort as jr, type Void as js, type VoidUpdate as jt, type VoidSort as ju, type Webhook as jv, type WebhookCreate as jw, type WebhookUpdate as jx, type WebhookSort as jy, type WireTransfer as jz, type UpdatableResource as k, type PriceTierType as k$, type CustomerSubscriptionType as k0, type SubscriptionModelType as k1, type SkuOptionType as k2, type LineItemOptionType as k3, type VoidType as k4, type AuthorizationType as k5, type RefundType as k6, type CaptureType as k7, type ResourceErrorType as k8, type ReturnType as k9, type CustomPromotionRuleType as kA, type FreeGiftPromotionType as kB, type CouponCodesPromotionRuleType as kC, type BuyXPayYPromotionType as kD, type SkuListPromotionRuleType as kE, type FreeShippingPromotionType as kF, type OrderAmountPromotionRuleType as kG, type PercentageDiscountPromotionType as kH, type LineItemType as kI, type OrderSubscriptionItemType as kJ, type OrderFactoryType as kK, type RecurringOrderCopyType as kL, type OrderSubscriptionType as kM, type CustomerType as kN, type PaymentOptionType as kO, type OrderCopyType as kP, type OrderType as kQ, type PackageType as kR, type ParcelLineItemType as kS, type ParcelType as kT, type PickupType as kU, type CarrierAccountType as kV, type ShipmentType as kW, type StockTransferType as kX, type StockLocationType as kY, type StockItemType as kZ, type SkuType as k_, type ReturnLineItemType as ka, type StockLineItemType as kb, type ReservedStockType as kc, type StockReservationType as kd, type ShippingZoneType as ke, type DeliveryLeadTimeType as kf, type ShippingMethodTierType as kg, type ShippingWeightTierType as kh, type ShippingMethodType as ki, type NotificationType as kj, type SkuListItemType as kk, type LinkType as kl, type SkuListType as km, type BundleType as kn, type GiftCardRecipientType as ko, type GiftCardType as kp, type AdjustmentType as kq, type DiscountEngineType as kr, type DiscountEngineItemType as ks, type CouponRecipientType as kt, type CouponType as ku, type ExternalPromotionType as kv, type FixedAmountPromotionType as kw, type FlexPromotionType as kx, type PromotionRuleType as ky, type FixedPricePromotionType as kz, type DeletableResource as l, type PriceVolumeTierType as l0, type PriceFrequencyTierType as l1, type PriceType as l2, type PriceListSchedulerType as l3, type PriceListType as l4, type TransactionType as l5, type PromotionType as l6, type TaxCalculatorType as l7, type AvalaraAccountType as l8, type StripeTaxAccountType as l9, type ManualGatewayType as lA, type OrganizationType as lB, type PaypalGatewayType as lC, type SatispayGatewayType as lD, type StripeGatewayType as lE, type TalonOneAccountType as lF, type VertexAccountType as la, type TaxjarAccountType as lb, type TaxRuleType as lc, type ManualTaxCalculatorType as ld, type ExternalTaxCalculatorType as le, type TaxCategoryType as lf, type AttachmentType as lg, type MerchantType as lh, type MarketType as li, type GeocoderType as lj, type AddressType as lk, type AdyenGatewayType as ll, type ApplicationType as lm, type AxerveGatewayType as ln, type BingGeocoderType as lo, type BraintreeGatewayType as lp, type CheckoutComGatewayType as lq, type CleanupType as lr, type CustomerPasswordResetType as ls, type EasypostPickupType as lt, type ExportType as lu, type ExternalGatewayType as lv, type GoogleGeocoderType as lw, type ImportType as lx, type InStockSubscriptionType as ly, type KlarnaGatewayType as lz, type TaggableResource as m, type VersionableResource as n, type ResourceFields as o, type ResourceSortFields as p, instance$l as q, resourceList as r, singletonList as s, instance$1f as t, instance$k as u, instance$1Q as v, instance$j as w, instance$p as x, instance$1A as y, instance$x as z };
|
17295
|
+
export { instance$1F as $, instance$i as A, instance$1P as B, type CreatableResourceType as C, type DeletableResourceType as D, instance$h as E, instance$g as F, instance$1O as G, instance$1i as H, instance$12 as I, instance$1y as J, instance$M as K, type ListableResourceType as L, instance$f as M, instance$1N as N, instance$e as O, instance$13 as P, instance$1c as Q, type ResourceId as R, instance$1b as S, type TaggableResourceType as T, type UpdatableResourceType as U, type VersionableResourceType as V, instance$15 as W, instance$1U as X, instance$1Y as Y, instance$d as Z, instance$1G as _, type ResourceType as a, instance$1t as a$, instance$U as a0, instance$1q as a1, instance$1d as a2, instance$1e as a3, instance$c as a4, instance$1X as a5, instance$1V as a6, instance$b as a7, instance$a as a8, instance$1M as a9, instance$$ as aA, instance$S as aB, instance$X as aC, instance$Y as aD, instance$V as aE, instance$R as aF, instance$4 as aG, instance$Q as aH, instance$P as aI, instance$O as aJ, instance$1T as aK, instance$1R as aL, instance$T as aM, instance$3 as aN, instance$1K as aO, instance$_ as aP, instance$N as aQ, instance$E as aR, instance$C as aS, instance$B as aT, instance$G as aU, instance$F as aV, instance$D as aW, instance$17 as aX, instance$z as aY, instance$W as aZ, instance$1z as a_, instance$1a as aa, instance$r as ab, instance$19 as ac, instance$16 as ad, instance$18 as ae, instance$14 as af, instance$10 as ag, instance$m as ah, instance$1h as ai, instance$1g as aj, instance$9 as ak, instance$8 as al, instance$7 as am, instance$1_ as an, instance$1$ as ao, instance$1Z as ap, instance$6 as aq, instance$1L as ar, instance$1C as as, instance$Z as at, instance$1k as au, instance$5 as av, instance$s as aw, instance$n as ax, instance$o as ay, instance$1m as az, type Resource as b, type ResourceSort as b$, instance$1x as b0, instance$1v as b1, instance$1w as b2, instance$2 as b3, instance$1J as b4, instance$L as b5, instance$20 as b6, instance$1p as b7, instance$1n as b8, instance$1o as b9, instance$1W as bA, instance$1H as bB, generateQueryStringParams as bC, isParamsList as bD, generateSearchString as bE, type QueryInclude as bF, type QueryArrayFields as bG, type QueryRecordFields as bH, type QueryFields as bI, type QueryParamsRetrieve as bJ, type QueryArraySortable as bK, type QueryRecordSortable as bL, type QuerySort as bM, type QueryFilter as bN, type QueryPageNumber as bO, type QueryPageSize as bP, type QueryParamsList as bQ, type QueryParams as bR, type Metadata as bS, ListResponse as bT, type ListMeta as bU, type ResourceRel as bV, ApiResourceAdapter as bW, ApiResource as bX, ApiSingleton as bY, type ResourcesConfig as bZ, ResourceAdapter as b_, instance$1r as ba, instance$1l as bb, instance$11 as bc, instance$1j as bd, instance$1D as be, instance$H as bf, instance$I as bg, instance$1u as bh, instance$J as bi, instance$1s as bj, instance$K as bk, instance$1S as bl, instance$1 as bm, instance$1I as bn, instance$w as bo, instance$1E as bp, instance$22 as bq, instance as br, instance$y as bs, instance$q as bt, instance$t as bu, instance$u as bv, instance$A as bw, instance$21 as bx, instance$v as by, instance$1B as bz, type ResourceCreate as c, type CarrierAccountUpdate as c$, type ResourceFilter as c0, type Address as c1, type AddressCreate as c2, type AddressUpdate as c3, type AddressSort as c4, type Adjustment as c5, type AdjustmentCreate as c6, type AdjustmentUpdate as c7, type AdjustmentSort as c8, type AdyenGateway as c9, type AxervePaymentUpdate as cA, type AxervePaymentSort as cB, type BingGeocoder as cC, type BingGeocoderCreate as cD, type BingGeocoderUpdate as cE, type BingGeocoderSort as cF, type BraintreeGateway as cG, type BraintreeGatewayCreate as cH, type BraintreeGatewayUpdate as cI, type BraintreeGatewaySort as cJ, type BraintreePayment as cK, type BraintreePaymentCreate as cL, type BraintreePaymentUpdate as cM, type BraintreePaymentSort as cN, type Bundle as cO, type BundleCreate as cP, type BundleUpdate as cQ, type BundleSort as cR, type BuyXPayYPromotion as cS, type BuyXPayYPromotionCreate as cT, type BuyXPayYPromotionUpdate as cU, type BuyXPayYPromotionSort as cV, type Capture as cW, type CaptureUpdate as cX, type CaptureSort as cY, type CarrierAccount as cZ, type CarrierAccountCreate as c_, type AdyenGatewayCreate as ca, type AdyenGatewayUpdate as cb, type AdyenGatewaySort as cc, type AdyenPayment as cd, type AdyenPaymentCreate as ce, type AdyenPaymentUpdate as cf, type AdyenPaymentSort as cg, type Application as ch, type ApplicationSort as ci, type Attachment as cj, type AttachmentCreate as ck, type AttachmentUpdate as cl, type AttachmentSort as cm, type Authorization as cn, type AuthorizationUpdate as co, type AuthorizationSort as cp, type AvalaraAccount as cq, type AvalaraAccountCreate as cr, type AvalaraAccountUpdate as cs, type AvalaraAccountSort as ct, type AxerveGateway as cu, type AxerveGatewayCreate as cv, type AxerveGatewayUpdate as cw, type AxerveGatewaySort as cx, type AxervePayment as cy, type AxervePaymentCreate as cz, type ResourceUpdate as d, type EasypostPickupCreate as d$, type CarrierAccountSort as d0, type CheckoutComGateway as d1, type CheckoutComGatewayCreate as d2, type CheckoutComGatewayUpdate as d3, type CheckoutComGatewaySort as d4, type CheckoutComPayment as d5, type CheckoutComPaymentCreate as d6, type CheckoutComPaymentUpdate as d7, type CheckoutComPaymentSort as d8, type Cleanup as d9, type CustomerGroupUpdate as dA, type CustomerGroupSort as dB, type CustomerPasswordReset as dC, type CustomerPasswordResetCreate as dD, type CustomerPasswordResetUpdate as dE, type CustomerPasswordResetSort as dF, type CustomerPaymentSource as dG, type CustomerPaymentSourceCreate as dH, type CustomerPaymentSourceUpdate as dI, type CustomerPaymentSourceSort as dJ, type CustomerSubscription as dK, type CustomerSubscriptionCreate as dL, type CustomerSubscriptionUpdate as dM, type CustomerSubscriptionSort as dN, type Customer as dO, type CustomerCreate as dP, type CustomerUpdate as dQ, type CustomerSort as dR, type DeliveryLeadTime as dS, type DeliveryLeadTimeCreate as dT, type DeliveryLeadTimeUpdate as dU, type DeliveryLeadTimeSort as dV, type DiscountEngineItem as dW, type DiscountEngineItemSort as dX, type DiscountEngine as dY, type DiscountEngineSort as dZ, type EasypostPickup as d_, type CleanupCreate as da, type CleanupUpdate as db, type CleanupSort as dc, type CouponCodesPromotionRule as dd, type CouponCodesPromotionRuleCreate as de, type CouponCodesPromotionRuleUpdate as df, type CouponCodesPromotionRuleSort as dg, type CouponRecipient as dh, type CouponRecipientCreate as di, type CouponRecipientUpdate as dj, type CouponRecipientSort as dk, type Coupon as dl, type CouponCreate as dm, type CouponUpdate as dn, type CouponSort as dp, type CustomPromotionRule as dq, type CustomPromotionRuleCreate as dr, type CustomPromotionRuleUpdate as ds, type CustomPromotionRuleSort as dt, type CustomerAddress as du, type CustomerAddressCreate as dv, type CustomerAddressUpdate as dw, type CustomerAddressSort as dx, type CustomerGroup as dy, type CustomerGroupCreate as dz, type ResourcesInitConfig as e, type ImportUpdate as e$, type EasypostPickupUpdate as e0, type EasypostPickupSort as e1, type EventCallback as e2, type EventCallbackSort as e3, type Event as e4, type EventUpdate as e5, type EventSort as e6, type Export as e7, type ExportCreate as e8, type ExportUpdate as e9, type FlexPromotionCreate as eA, type FlexPromotionUpdate as eB, type FlexPromotionSort as eC, type FreeGiftPromotion as eD, type FreeGiftPromotionCreate as eE, type FreeGiftPromotionUpdate as eF, type FreeGiftPromotionSort as eG, type FreeShippingPromotion as eH, type FreeShippingPromotionCreate as eI, type FreeShippingPromotionUpdate as eJ, type FreeShippingPromotionSort as eK, type Geocoder as eL, type GeocoderSort as eM, type GiftCardRecipient as eN, type GiftCardRecipientCreate as eO, type GiftCardRecipientUpdate as eP, type GiftCardRecipientSort as eQ, type GiftCard as eR, type GiftCardCreate as eS, type GiftCardUpdate as eT, type GiftCardSort as eU, type GoogleGeocoder as eV, type GoogleGeocoderCreate as eW, type GoogleGeocoderUpdate as eX, type GoogleGeocoderSort as eY, type Import as eZ, type ImportCreate as e_, type ExportSort as ea, type ExternalGateway as eb, type ExternalGatewayCreate as ec, type ExternalGatewayUpdate as ed, type ExternalGatewaySort as ee, type ExternalPayment as ef, type ExternalPaymentCreate as eg, type ExternalPaymentUpdate as eh, type ExternalPaymentSort as ei, type ExternalPromotion as ej, type ExternalPromotionCreate as ek, type ExternalPromotionUpdate as el, type ExternalPromotionSort as em, type ExternalTaxCalculator as en, type ExternalTaxCalculatorCreate as eo, type ExternalTaxCalculatorUpdate as ep, type ExternalTaxCalculatorSort as eq, type FixedAmountPromotion as er, type FixedAmountPromotionCreate as es, type FixedAmountPromotionUpdate as et, type FixedAmountPromotionSort as eu, type FixedPricePromotion as ev, type FixedPricePromotionCreate as ew, type FixedPricePromotionUpdate as ex, type FixedPricePromotionSort as ey, type FlexPromotion as ez, type ResourceTypeLock as f, type OrderCopyUpdate as f$, type ImportSort as f0, type InStockSubscription as f1, type InStockSubscriptionCreate as f2, type InStockSubscriptionUpdate as f3, type InStockSubscriptionSort as f4, type InventoryModel as f5, type InventoryModelCreate as f6, type InventoryModelUpdate as f7, type InventoryModelSort as f8, type InventoryReturnLocation as f9, type LinkSort as fA, type ManualGateway as fB, type ManualGatewayCreate as fC, type ManualGatewayUpdate as fD, type ManualGatewaySort as fE, type ManualTaxCalculator as fF, type ManualTaxCalculatorCreate as fG, type ManualTaxCalculatorUpdate as fH, type ManualTaxCalculatorSort as fI, type Market as fJ, type MarketCreate as fK, type MarketUpdate as fL, type MarketSort as fM, type Merchant as fN, type MerchantCreate as fO, type MerchantUpdate as fP, type MerchantSort as fQ, type Notification as fR, type NotificationCreate as fS, type NotificationUpdate as fT, type NotificationSort as fU, type OrderAmountPromotionRule as fV, type OrderAmountPromotionRuleCreate as fW, type OrderAmountPromotionRuleUpdate as fX, type OrderAmountPromotionRuleSort as fY, type OrderCopy as fZ, type OrderCopyCreate as f_, type InventoryReturnLocationCreate as fa, type InventoryReturnLocationUpdate as fb, type InventoryReturnLocationSort as fc, type InventoryStockLocation as fd, type InventoryStockLocationCreate as fe, type InventoryStockLocationUpdate as ff, type InventoryStockLocationSort as fg, type KlarnaGateway as fh, type KlarnaGatewayCreate as fi, type KlarnaGatewayUpdate as fj, type KlarnaGatewaySort as fk, type KlarnaPayment as fl, type KlarnaPaymentCreate as fm, type KlarnaPaymentUpdate as fn, type KlarnaPaymentSort as fo, type LineItemOption as fp, type LineItemOptionCreate as fq, type LineItemOptionUpdate as fr, type LineItemOptionSort as fs, type LineItem as ft, type LineItemCreate as fu, type LineItemUpdate as fv, type LineItemSort as fw, type Link as fx, type LinkCreate as fy, type LinkUpdate as fz, type RetrievableResourceType as g, type PriceListUpdate as g$, type OrderCopySort as g0, type OrderFactory as g1, type OrderFactorySort as g2, type OrderSubscriptionItem as g3, type OrderSubscriptionItemCreate as g4, type OrderSubscriptionItemUpdate as g5, type OrderSubscriptionItemSort as g6, type OrderSubscription as g7, type OrderSubscriptionCreate as g8, type OrderSubscriptionUpdate as g9, type PaymentOptionCreate as gA, type PaymentOptionUpdate as gB, type PaymentOptionSort as gC, type PaypalGateway as gD, type PaypalGatewayCreate as gE, type PaypalGatewayUpdate as gF, type PaypalGatewaySort as gG, type PaypalPayment as gH, type PaypalPaymentCreate as gI, type PaypalPaymentUpdate as gJ, type PaypalPaymentSort as gK, type PercentageDiscountPromotion as gL, type PercentageDiscountPromotionCreate as gM, type PercentageDiscountPromotionUpdate as gN, type PercentageDiscountPromotionSort as gO, type Pickup as gP, type PickupSort as gQ, type PriceFrequencyTier as gR, type PriceFrequencyTierCreate as gS, type PriceFrequencyTierUpdate as gT, type PriceFrequencyTierSort as gU, type PriceListScheduler as gV, type PriceListSchedulerCreate as gW, type PriceListSchedulerUpdate as gX, type PriceListSchedulerSort as gY, type PriceList as gZ, type PriceListCreate as g_, type OrderSubscriptionSort as ga, type Order as gb, type OrderCreate as gc, type OrderUpdate as gd, type OrderSort as ge, type Organization as gf, type OrganizationSort as gg, type Package as gh, type PackageCreate as gi, type PackageUpdate as gj, type PackageSort as gk, type ParcelLineItem as gl, type ParcelLineItemCreate as gm, type ParcelLineItemUpdate as gn, type ParcelLineItemSort as go, type Parcel as gp, type ParcelCreate as gq, type ParcelUpdate as gr, type ParcelSort as gs, type PaymentGateway as gt, type PaymentGatewaySort as gu, type PaymentMethod as gv, type PaymentMethodCreate as gw, type PaymentMethodUpdate as gx, type PaymentMethodSort as gy, type PaymentOption as gz, type RetrievableResource as h, type ShippingZoneSort as h$, type PriceListSort as h0, type PriceTier as h1, type PriceTierSort as h2, type PriceVolumeTier as h3, type PriceVolumeTierCreate as h4, type PriceVolumeTierUpdate as h5, type PriceVolumeTierSort as h6, type Price as h7, type PriceCreate as h8, type PriceUpdate as h9, type SatispayGatewayUpdate as hA, type SatispayGatewaySort as hB, type SatispayPayment as hC, type SatispayPaymentCreate as hD, type SatispayPaymentUpdate as hE, type SatispayPaymentSort as hF, type Shipment as hG, type ShipmentCreate as hH, type ShipmentUpdate as hI, type ShipmentSort as hJ, type ShippingCategory as hK, type ShippingCategoryCreate as hL, type ShippingCategoryUpdate as hM, type ShippingCategorySort as hN, type ShippingMethodTier as hO, type ShippingMethodTierSort as hP, type ShippingMethod as hQ, type ShippingMethodCreate as hR, type ShippingMethodUpdate as hS, type ShippingMethodSort as hT, type ShippingWeightTier as hU, type ShippingWeightTierCreate as hV, type ShippingWeightTierUpdate as hW, type ShippingWeightTierSort as hX, type ShippingZone as hY, type ShippingZoneCreate as hZ, type ShippingZoneUpdate as h_, type PriceSort as ha, type PromotionRule as hb, type PromotionRuleSort as hc, type Promotion as hd, type PromotionSort as he, type RecurringOrderCopy as hf, type RecurringOrderCopyCreate as hg, type RecurringOrderCopyUpdate as hh, type RecurringOrderCopySort as hi, type Refund as hj, type RefundUpdate as hk, type RefundSort as hl, type ReservedStock as hm, type ReservedStockSort as hn, type ResourceError as ho, type ResourceErrorSort as hp, type ReturnLineItem as hq, type ReturnLineItemCreate as hr, type ReturnLineItemUpdate as hs, type ReturnLineItemSort as ht, type Return as hu, type ReturnCreate as hv, type ReturnUpdate as hw, type ReturnSort as hx, type SatispayGateway as hy, type SatispayGatewayCreate as hz, type ListableResource as i, type TagCreate as i$, type SkuListItem as i0, type SkuListItemCreate as i1, type SkuListItemUpdate as i2, type SkuListItemSort as i3, type SkuListPromotionRule as i4, type SkuListPromotionRuleCreate as i5, type SkuListPromotionRuleUpdate as i6, type SkuListPromotionRuleSort as i7, type SkuList as i8, type SkuListCreate as i9, type StockReservationUpdate as iA, type StockReservationSort as iB, type StockTransfer as iC, type StockTransferCreate as iD, type StockTransferUpdate as iE, type StockTransferSort as iF, type Store as iG, type StoreCreate as iH, type StoreUpdate as iI, type StoreSort as iJ, type StripeGateway as iK, type StripeGatewayCreate as iL, type StripeGatewayUpdate as iM, type StripeGatewaySort as iN, type StripePayment as iO, type StripePaymentCreate as iP, type StripePaymentUpdate as iQ, type StripePaymentSort as iR, type StripeTaxAccount as iS, type StripeTaxAccountCreate as iT, type StripeTaxAccountUpdate as iU, type StripeTaxAccountSort as iV, type SubscriptionModel as iW, type SubscriptionModelCreate as iX, type SubscriptionModelUpdate as iY, type SubscriptionModelSort as iZ, type Tag as i_, type SkuListUpdate as ia, type SkuListSort as ib, type SkuOption as ic, type SkuOptionCreate as id, type SkuOptionUpdate as ie, type SkuOptionSort as ig, type Sku as ih, type SkuCreate as ii, type SkuUpdate as ij, type SkuSort as ik, type StockItem as il, type StockItemCreate as im, type StockItemUpdate as io, type StockItemSort as ip, type StockLineItem as iq, type StockLineItemCreate as ir, type StockLineItemUpdate as is, type StockLineItemSort as it, type StockLocation as iu, type StockLocationCreate as iv, type StockLocationUpdate as iw, type StockLocationSort as ix, type StockReservation as iy, type StockReservationCreate as iz, type CreatableResource as j, type CustomerPaymentSourceType as j$, type TagUpdate as j0, type TagSort as j1, type TalonOneAccount as j2, type TalonOneAccountCreate as j3, type TalonOneAccountUpdate as j4, type TalonOneAccountSort as j5, type TaxCalculator as j6, type TaxCalculatorSort as j7, type TaxCategory as j8, type TaxCategoryCreate as j9, type WireTransferCreate as jA, type WireTransferUpdate as jB, type WireTransferSort as jC, type TagType as jD, type VersionType as jE, type ShippingCategoryType as jF, type InventoryReturnLocationType as jG, type InventoryModelType as jH, type InventoryStockLocationType as jI, type CustomerGroupType as jJ, type EventCallbackType as jK, type WebhookType as jL, type EventType as jM, type CustomerAddressType as jN, type PaymentGatewayType as jO, type StoreType as jP, type PaymentMethodType as jQ, type AdyenPaymentType as jR, type AxervePaymentType as jS, type BraintreePaymentType as jT, type CheckoutComPaymentType as jU, type ExternalPaymentType as jV, type KlarnaPaymentType as jW, type PaypalPaymentType as jX, type SatispayPaymentType as jY, type StripePaymentType as jZ, type WireTransferType as j_, type TaxCategoryUpdate as ja, type TaxCategorySort as jb, type TaxRule as jc, type TaxRuleCreate as jd, type TaxRuleUpdate as je, type TaxRuleSort as jf, type TaxjarAccount as jg, type TaxjarAccountCreate as jh, type TaxjarAccountUpdate as ji, type TaxjarAccountSort as jj, type Transaction as jk, type TransactionSort as jl, type Version as jm, type VersionSort as jn, type VertexAccount as jo, type VertexAccountCreate as jp, type VertexAccountUpdate as jq, type VertexAccountSort as jr, type Void as js, type VoidUpdate as jt, type VoidSort as ju, type Webhook as jv, type WebhookCreate as jw, type WebhookUpdate as jx, type WebhookSort as jy, type WireTransfer as jz, type UpdatableResource as k, type PriceTierType as k$, type CustomerSubscriptionType as k0, type SubscriptionModelType as k1, type SkuOptionType as k2, type LineItemOptionType as k3, type VoidType as k4, type AuthorizationType as k5, type RefundType as k6, type CaptureType as k7, type ResourceErrorType as k8, type ReturnType as k9, type CustomPromotionRuleType as kA, type FreeGiftPromotionType as kB, type CouponCodesPromotionRuleType as kC, type BuyXPayYPromotionType as kD, type SkuListPromotionRuleType as kE, type FreeShippingPromotionType as kF, type OrderAmountPromotionRuleType as kG, type PercentageDiscountPromotionType as kH, type LineItemType as kI, type OrderSubscriptionItemType as kJ, type OrderFactoryType as kK, type RecurringOrderCopyType as kL, type OrderSubscriptionType as kM, type CustomerType as kN, type PaymentOptionType as kO, type OrderCopyType as kP, type OrderType as kQ, type PackageType as kR, type ParcelLineItemType as kS, type ParcelType as kT, type PickupType as kU, type CarrierAccountType as kV, type ShipmentType as kW, type StockTransferType as kX, type StockLocationType as kY, type StockItemType as kZ, type SkuType as k_, type ReturnLineItemType as ka, type StockLineItemType as kb, type ReservedStockType as kc, type StockReservationType as kd, type ShippingZoneType as ke, type DeliveryLeadTimeType as kf, type ShippingMethodTierType as kg, type ShippingWeightTierType as kh, type ShippingMethodType as ki, type NotificationType as kj, type SkuListItemType as kk, type LinkType as kl, type SkuListType as km, type BundleType as kn, type GiftCardRecipientType as ko, type GiftCardType as kp, type AdjustmentType as kq, type DiscountEngineType as kr, type DiscountEngineItemType as ks, type CouponRecipientType as kt, type CouponType as ku, type ExternalPromotionType as kv, type FixedAmountPromotionType as kw, type FlexPromotionType as kx, type PromotionRuleType as ky, type FixedPricePromotionType as kz, type DeletableResource as l, type PriceVolumeTierType as l0, type PriceFrequencyTierType as l1, type PriceType as l2, type PriceListSchedulerType as l3, type PriceListType as l4, type TransactionType as l5, type PromotionType as l6, type TaxCalculatorType as l7, type AvalaraAccountType as l8, type StripeTaxAccountType as l9, type ManualGatewayType as lA, type OrganizationType as lB, type PaypalGatewayType as lC, type SatispayGatewayType as lD, type StripeGatewayType as lE, type TalonOneAccountType as lF, type VertexAccountType as la, type TaxjarAccountType as lb, type TaxRuleType as lc, type ManualTaxCalculatorType as ld, type ExternalTaxCalculatorType as le, type TaxCategoryType as lf, type AttachmentType as lg, type MerchantType as lh, type MarketType as li, type GeocoderType as lj, type AddressType as lk, type AdyenGatewayType as ll, type ApplicationType as lm, type AxerveGatewayType as ln, type BingGeocoderType as lo, type BraintreeGatewayType as lp, type CheckoutComGatewayType as lq, type CleanupType as lr, type CustomerPasswordResetType as ls, type EasypostPickupType as lt, type ExportType as lu, type ExternalGatewayType as lv, type GoogleGeocoderType as lw, type ImportType as lx, type InStockSubscriptionType as ly, type KlarnaGatewayType as lz, type TaggableResource as m, type VersionableResource as n, type ResourceFields as o, type ResourceSortFields as p, instance$l as q, resourceList as r, singletonList as s, instance$1f as t, instance$k as u, instance$1Q as v, instance$j as w, instance$p as x, instance$1A as y, instance$x as z };
|