bc-api-client 0.1.4 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth.d.ts +134 -0
- package/dist/client.d.ts +149 -0
- package/dist/core.d.ts +27 -0
- package/dist/endpoints.d.ts +471 -0
- package/dist/endpoints.js +486 -0
- package/dist/endpoints.js.map +7 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +738 -0
- package/dist/index.js.map +7 -0
- package/dist/net.d.ts +67 -0
- package/dist/util.d.ts +22 -0
- package/package.json +1 -1
|
@@ -0,0 +1,486 @@
|
|
|
1
|
+
// src/endpoints.ts
|
|
2
|
+
var catalogSummary = "/catalog/summary";
|
|
3
|
+
var products = {
|
|
4
|
+
path: "/catalog/products",
|
|
5
|
+
byId: (id) => `/catalog/products/${id}`,
|
|
6
|
+
batchPrices: "/pricing/products",
|
|
7
|
+
metafields: {
|
|
8
|
+
batch: "/catalog/products/metafields",
|
|
9
|
+
product: {
|
|
10
|
+
path: (productId) => `/catalog/products/${productId}/metafields`,
|
|
11
|
+
byId: (productId, id) => `/catalog/products/${productId}/metafields/${id}`
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
bulkPricingRules: {
|
|
15
|
+
path: (productId) => `/catalog/products/${productId}/bulk-pricing-rules`,
|
|
16
|
+
byId: (productId, id) => `/catalog/products/${productId}/bulk-pricing-rules/${id}`
|
|
17
|
+
},
|
|
18
|
+
categoryAssignments: "/catalog/products/category-assignments",
|
|
19
|
+
channelAssignments: "/catalog/products/channel-assignments",
|
|
20
|
+
complexRules: {
|
|
21
|
+
path: (productId) => `/catalog/products/${productId}/complex-rules`,
|
|
22
|
+
byId: (productId, id) => `/catalog/products/${productId}/complex-rules/${id}`
|
|
23
|
+
},
|
|
24
|
+
customFields: {
|
|
25
|
+
path: (productId) => `/catalog/products/${productId}/custom-fields`,
|
|
26
|
+
byId: (productId, id) => `/catalog/products/${productId}/custom-fields/${id}`
|
|
27
|
+
},
|
|
28
|
+
images: {
|
|
29
|
+
path: (productId) => `/catalog/products/${productId}/images`,
|
|
30
|
+
byId: (productId, id) => `/catalog/products/${productId}/images/${id}`
|
|
31
|
+
},
|
|
32
|
+
reviews: {
|
|
33
|
+
path: (productId) => `/catalog/products/${productId}/reviews`,
|
|
34
|
+
byId: (productId, id) => `/catalog/products/${productId}/reviews/${id}`
|
|
35
|
+
},
|
|
36
|
+
videos: {
|
|
37
|
+
path: (productId) => `/catalog/products/${productId}/videos`,
|
|
38
|
+
byId: (productId, id) => `/catalog/products/${productId}/videos/${id}`
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
var modifiers = {
|
|
42
|
+
path: (productId) => `/catalog/products/${productId}/modifiers`,
|
|
43
|
+
byId: (productId, id) => `/catalog/products/${productId}/modifiers/${id}`,
|
|
44
|
+
values: {
|
|
45
|
+
path: (productId, modifierId) => `/catalog/products/${productId}/modifiers/${modifierId}/values`,
|
|
46
|
+
byId: (productId, modifierId, id) => `/catalog/products/${productId}/modifiers/${modifierId}/values/${id}`,
|
|
47
|
+
createImage: (productId, modifierId, id) => `/catalog/products/${productId}/modifiers/${modifierId}/values/${id}/image`
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
var variantOptions = {
|
|
51
|
+
path: (productId) => `/catalog/products/${productId}/options`,
|
|
52
|
+
byId: (productId, id) => `/catalog/products/${productId}/options/${id}`,
|
|
53
|
+
values: {
|
|
54
|
+
path: (productId, optionId) => `/catalog/products/${productId}/options/${optionId}/values`,
|
|
55
|
+
byId: (productId, optionId, id) => `/catalog/products/${productId}/options/${optionId}/values/${id}`
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
var variants = {
|
|
59
|
+
batch: "/catalog/variants",
|
|
60
|
+
path: (productId) => `/catalog/products/${productId}/variants`,
|
|
61
|
+
byId: (productId, id) => `/catalog/products/${productId}/variants/${id}`,
|
|
62
|
+
createImage: (productId, id) => `/catalog/products/${productId}/variants/${id}/image`,
|
|
63
|
+
metafields: {
|
|
64
|
+
batch: "/catalog/variants/metafields",
|
|
65
|
+
path: (productId, id) => `/catalog/products/${productId}/variants/${id}/metafields`,
|
|
66
|
+
byId: (productId, variantId, id) => `/catalog/products/${productId}/variants/${variantId}/metafields/${id}`
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
var brands = {
|
|
70
|
+
path: "/catalog/brands",
|
|
71
|
+
byId: (id) => `/catalog/brands/${id}`,
|
|
72
|
+
image: (id) => `/catalog/brands/${id}/image`,
|
|
73
|
+
metafields: {
|
|
74
|
+
batch: "/catalog/brands/metafields",
|
|
75
|
+
path: (id) => `/catalog/brands/${id}/metafields`,
|
|
76
|
+
byId: (brandId, id) => `/catalog/brands/${brandId}/metafields/${id}`
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
var categories = {
|
|
80
|
+
deprecated: {
|
|
81
|
+
path: "/catalog/categories",
|
|
82
|
+
byId: (id) => `/catalog/categories/${id}`
|
|
83
|
+
},
|
|
84
|
+
image: (id) => `/catalog/categories/${id}/image`,
|
|
85
|
+
metafields: {
|
|
86
|
+
batch: "/catalog/categories/metafields",
|
|
87
|
+
path: (id) => `/catalog/categories/${id}/metafields`,
|
|
88
|
+
byId: (categoryId, id) => `/catalog/categories/${categoryId}/metafields/${id}`
|
|
89
|
+
},
|
|
90
|
+
sortOrder: (id) => `/catalog/categories/${id}/products/sort-order`
|
|
91
|
+
};
|
|
92
|
+
var trees = {
|
|
93
|
+
path: "/catalog/trees",
|
|
94
|
+
byId: (id) => `/catalog/trees/${id}`,
|
|
95
|
+
categories: (id) => `/catalog/trees/${id}/categories`,
|
|
96
|
+
allCategories: "/catalog/trees/categories"
|
|
97
|
+
};
|
|
98
|
+
var abandonedCarts = {
|
|
99
|
+
path: (token) => `/abandoned-carts/${token}`,
|
|
100
|
+
settings: {
|
|
101
|
+
global: "/abandoned-carts/settings",
|
|
102
|
+
channel: (channelId) => `/abandoned-carts/settings/${channelId}`
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
var carts = {
|
|
106
|
+
path: "/carts",
|
|
107
|
+
byId: (uuid) => `/carts/${uuid}`,
|
|
108
|
+
createRedirectUrl: (uuid) => `/carts/${uuid}/redirect_urls`,
|
|
109
|
+
items: {
|
|
110
|
+
path: (uuid) => `/carts/${uuid}/items`,
|
|
111
|
+
byId: (cartUuid, itemUuid) => `/carts/${cartUuid}/items/${itemUuid}`
|
|
112
|
+
},
|
|
113
|
+
metafields: {
|
|
114
|
+
batch: "/carts/metafields",
|
|
115
|
+
path: (uuid) => `/carts/${uuid}/metafields`,
|
|
116
|
+
byId: (cartUuid, metafieldUuid) => `/carts/${cartUuid}/metafields/${metafieldUuid}`
|
|
117
|
+
},
|
|
118
|
+
settings: {
|
|
119
|
+
global: "/carts/settings",
|
|
120
|
+
channel: (channelId) => `/carts/settings/${channelId}`
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
var channels = {
|
|
124
|
+
path: "/channels",
|
|
125
|
+
byId: (id) => `/channels/${id}`,
|
|
126
|
+
activeTheme: (id) => `/channels/${id}/active-theme`,
|
|
127
|
+
site: (id) => `/channels/${id}/site`,
|
|
128
|
+
menus: (id) => `/channels/${id}/channel-menus`,
|
|
129
|
+
checkoutUrl: (id) => `/channels/${id}/site/checkout-url`,
|
|
130
|
+
currencyAssignments: {
|
|
131
|
+
path: (id) => `/channels/${id}/currency-assignments`,
|
|
132
|
+
byId: (channelId, id) => `/channels/${channelId}/currency-assignments/${id}`
|
|
133
|
+
},
|
|
134
|
+
listings: {
|
|
135
|
+
path: (id) => `/channels/${id}/listings`,
|
|
136
|
+
byId: (channelId, id) => `/channels/${channelId}/listings/${id}`
|
|
137
|
+
},
|
|
138
|
+
metafields: {
|
|
139
|
+
batch: "/channels/metafields",
|
|
140
|
+
path: (id) => `/channels/${id}/metafields`,
|
|
141
|
+
byId: (channelId, id) => `/channels/${channelId}/metafields/${id}`
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
var checkouts = {
|
|
145
|
+
path: (uuid) => `/checkouts/${uuid}`,
|
|
146
|
+
billingAddress: (uuid) => `/checkouts/${uuid}/billing-address`,
|
|
147
|
+
consignments: {
|
|
148
|
+
path: (uuid) => `/checkouts/${uuid}/consignments`,
|
|
149
|
+
byId: (checkoutUuid, consignmentUuid) => `/checkouts/${checkoutUuid}/consignments/${consignmentUuid}`
|
|
150
|
+
},
|
|
151
|
+
coupons: {
|
|
152
|
+
add: (uuid) => `/checkouts/${uuid}/coupons`,
|
|
153
|
+
delete: (uuid, code) => `/checkouts/${uuid}/coupons/${code}`
|
|
154
|
+
},
|
|
155
|
+
discounts: (uuid) => `/checkouts/${uuid}/discounts`,
|
|
156
|
+
fees: (uuid) => `/checkouts/${uuid}/fees`,
|
|
157
|
+
createOrder: (uuid) => `/checkouts/${uuid}/orders`,
|
|
158
|
+
settings: "/checkouts/settings",
|
|
159
|
+
createToken: (uuid) => `/checkouts/${uuid}/token`
|
|
160
|
+
};
|
|
161
|
+
var currencies = {
|
|
162
|
+
v2: {
|
|
163
|
+
path: "/currencies",
|
|
164
|
+
byId: (id) => `/currencies/${id}`
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
var customers = {
|
|
168
|
+
path: "/customers",
|
|
169
|
+
addresses: "/customers/addresses",
|
|
170
|
+
attributes: "/customers/attributes",
|
|
171
|
+
attributesValues: "/customers/attribute-values",
|
|
172
|
+
settings: {
|
|
173
|
+
channel: (channelId) => `/customers/settings/channels/${channelId}`,
|
|
174
|
+
global: "/customers/settings"
|
|
175
|
+
},
|
|
176
|
+
consent: (id) => `/customers/${id}/consent`,
|
|
177
|
+
formFieldValues: "/customers/form-field-values",
|
|
178
|
+
storedInstruments: (id) => `/customers/${id}/stored-instruments`,
|
|
179
|
+
validateCredentials: "/customers/validate-credentials",
|
|
180
|
+
metafields: {
|
|
181
|
+
batch: "/customers/metafields",
|
|
182
|
+
path: (id) => `/customers/${id}/metafields`,
|
|
183
|
+
byId: (customerId, id) => `/customers/${customerId}/metafields/${id}`
|
|
184
|
+
},
|
|
185
|
+
v2: {
|
|
186
|
+
groups: {
|
|
187
|
+
path: "/customer_groups",
|
|
188
|
+
byId: (id) => `/customer_groups/${id}`,
|
|
189
|
+
count: "/customer_groups/count"
|
|
190
|
+
},
|
|
191
|
+
deprecated: {
|
|
192
|
+
path: "/customers",
|
|
193
|
+
byId: (id) => `/customers/${id}`,
|
|
194
|
+
addresses: {
|
|
195
|
+
path: (id) => `/customers/${id}/addresses`,
|
|
196
|
+
byId: (customerId, id) => `/customers/${customerId}/addresses/${id}`
|
|
197
|
+
},
|
|
198
|
+
validatePassword: (id) => `/customers/${id}/validate_password`
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
subscribers: {
|
|
202
|
+
path: "/customers/subscribers",
|
|
203
|
+
byId: (id) => `/customers/subscribers/${id}`
|
|
204
|
+
}
|
|
205
|
+
};
|
|
206
|
+
var customerSegmentation = {
|
|
207
|
+
segments: "/segments",
|
|
208
|
+
shopperProfileSegments: (profileId) => `/shopper-profiles/${profileId}/segments`,
|
|
209
|
+
shopperProfiles: "/shopper-profiles",
|
|
210
|
+
segmentShopperProfiles: (segmentId) => `/segments/${segmentId}/shopper-profiles`
|
|
211
|
+
};
|
|
212
|
+
var geography = {
|
|
213
|
+
v2: {
|
|
214
|
+
countries: {
|
|
215
|
+
path: "/countries",
|
|
216
|
+
byId: (id) => `/countries/${id}`,
|
|
217
|
+
count: "/countries/count",
|
|
218
|
+
states: {
|
|
219
|
+
path: (id) => `/countries/${id}/states`,
|
|
220
|
+
byId: (countryId, id) => `/countries/${countryId}/states/${id}`,
|
|
221
|
+
count: (countryId) => `/countries/${countryId}/states/count`
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
states: {
|
|
225
|
+
path: "/countries/states",
|
|
226
|
+
count: "/countries/states/count"
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
var inventory = {
|
|
231
|
+
adjustments: {
|
|
232
|
+
absolute: "/inventory/adjustments/absolute",
|
|
233
|
+
relative: "/inventory/adjustments/relative"
|
|
234
|
+
},
|
|
235
|
+
items: {
|
|
236
|
+
path: "/inventory/items",
|
|
237
|
+
atLocation: (locationId) => `/inventory/locations/${locationId}/items`,
|
|
238
|
+
updateLocationSettings: (locationId) => `/inventory/locations/${locationId}/items`
|
|
239
|
+
}
|
|
240
|
+
};
|
|
241
|
+
var locations = {
|
|
242
|
+
path: "/inventory/locations",
|
|
243
|
+
metafields: {
|
|
244
|
+
batch: "/inventory/locations/metafields",
|
|
245
|
+
path: (id) => `/inventory/locations/${id}/metafields`,
|
|
246
|
+
byId: (locationId, id) => `/inventory/locations/${locationId}/metafields/${id}`
|
|
247
|
+
}
|
|
248
|
+
};
|
|
249
|
+
var ordersV2 = {
|
|
250
|
+
path: "/orders",
|
|
251
|
+
byId: (id) => `/orders/${id}`,
|
|
252
|
+
count: "/orders/count",
|
|
253
|
+
consignments: {
|
|
254
|
+
path: (id) => `/orders/${id}/consignments`,
|
|
255
|
+
shippingQuotes: (orderId, consignmentId) => `/orders/${orderId}/consignments/shipping/${consignmentId}/shipping_quotes`
|
|
256
|
+
},
|
|
257
|
+
coupons: (id) => `/orders/${id}/coupons`,
|
|
258
|
+
fees: (id) => `/orders/${id}/fees`,
|
|
259
|
+
messages: (id) => `/orders/${id}/messages`,
|
|
260
|
+
products: {
|
|
261
|
+
path: (id) => `/orders/${id}/products`,
|
|
262
|
+
byId: (orderId, id) => `/orders/${orderId}/products/${id}`
|
|
263
|
+
},
|
|
264
|
+
shipments: {
|
|
265
|
+
path: (id) => `/orders/${id}/shipments`,
|
|
266
|
+
count: (id) => `/orders/${id}/shipments/count`,
|
|
267
|
+
byId: (orderId, id) => `/orders/${orderId}/shipments/${id}`
|
|
268
|
+
},
|
|
269
|
+
shippingAddresses: {
|
|
270
|
+
path: (id) => `/orders/${id}/shipping_addresses`,
|
|
271
|
+
byId: (orderId, id) => `/orders/${orderId}/shipping_addresses/${id}`,
|
|
272
|
+
quotes: (orderId, id) => `/orders/${orderId}/shipping_addresses/${id}/shipping_quotes`
|
|
273
|
+
},
|
|
274
|
+
statuses: {
|
|
275
|
+
path: "/order_statuses",
|
|
276
|
+
byId: (id) => `/order_statuses/${id}`
|
|
277
|
+
},
|
|
278
|
+
taxes: (id) => `/orders/${id}/taxes`
|
|
279
|
+
};
|
|
280
|
+
var orders = {
|
|
281
|
+
v2: ordersV2,
|
|
282
|
+
transactions: (id) => `/orders/${id}/transactions`,
|
|
283
|
+
metafields: {
|
|
284
|
+
batch: "/orders/metafields",
|
|
285
|
+
path: (id) => `/orders/${id}/metafields`,
|
|
286
|
+
byId: (orderId, id) => `/orders/${orderId}/metafields/${id}`
|
|
287
|
+
},
|
|
288
|
+
settings: {
|
|
289
|
+
global: "/orders/settings",
|
|
290
|
+
channel: (channelId) => `/orders/settings/${channelId}`
|
|
291
|
+
},
|
|
292
|
+
payments: {
|
|
293
|
+
capture: (id) => `/orders/${id}/payment_actions/capture`,
|
|
294
|
+
void: (id) => `/orders/${id}/payment_actions/void`
|
|
295
|
+
},
|
|
296
|
+
refunds: {
|
|
297
|
+
path: "/orders/payment_actions/refunds",
|
|
298
|
+
byId: (refundId) => `/orders/payment_actions/refunds/${refundId}`,
|
|
299
|
+
quote: (id) => `/orders/${id}/payment_actions/refund_quote`,
|
|
300
|
+
forOrder: (id) => `/orders/${id}/payment_actions/refunds`
|
|
301
|
+
},
|
|
302
|
+
pickups: {
|
|
303
|
+
path: "/orders/pickups",
|
|
304
|
+
methods: "/pickup/methods",
|
|
305
|
+
options: "/pickup/options"
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
var priceLists = {
|
|
309
|
+
path: "/pricelists",
|
|
310
|
+
byId: (id) => `/pricelists/${id}`,
|
|
311
|
+
assignments: {
|
|
312
|
+
path: "/pricelists/assignments",
|
|
313
|
+
byId: (id) => `/pricelists/assignments/${id}`
|
|
314
|
+
},
|
|
315
|
+
records: {
|
|
316
|
+
path: "/pricelists/records",
|
|
317
|
+
forList: (id) => `/pricelists/${id}/records`,
|
|
318
|
+
byVariant: (listId, variantId) => `/pricelists/${listId}/records/${variantId}`,
|
|
319
|
+
byCurrency: (listId, variantId, currencyCode) => `/pricelists/${listId}/records/${variantId}/${currencyCode}`
|
|
320
|
+
}
|
|
321
|
+
};
|
|
322
|
+
var promotions = {
|
|
323
|
+
path: "/promotions",
|
|
324
|
+
byId: (id) => `/promotions/${id}`,
|
|
325
|
+
coupons: {
|
|
326
|
+
path: (promotionId) => `/promotions/${promotionId}/codes`,
|
|
327
|
+
byId: (promotionId, id) => `/promotions/${promotionId}/codes/${id}`
|
|
328
|
+
},
|
|
329
|
+
settings: "/promotions/settings"
|
|
330
|
+
};
|
|
331
|
+
var redirects = {
|
|
332
|
+
path: "/storefront/redirects",
|
|
333
|
+
imexJobs: "/storefront/redirects/imex/jobs",
|
|
334
|
+
createExportJob: "/storefront/redirects/imex/export",
|
|
335
|
+
createImportJob: "/storefront/redirects/imex/import",
|
|
336
|
+
exportEventStream: (jobUuid) => `/storefront/redirects/imex/export/${jobUuid}/events`,
|
|
337
|
+
importEventStream: (jobUuid) => `/storefront/redirects/imex/import/${jobUuid}/events`,
|
|
338
|
+
downloadExport: (jobUuid) => `/storefront/redirects/imex/export/${jobUuid}/download`
|
|
339
|
+
};
|
|
340
|
+
var scripts = {
|
|
341
|
+
path: "/content/scripts",
|
|
342
|
+
byId: (uuid) => `/content/scripts/${uuid}`
|
|
343
|
+
};
|
|
344
|
+
var settings = {
|
|
345
|
+
analytics: {
|
|
346
|
+
providers: "/settings/analytics",
|
|
347
|
+
provider: (providerId) => `/settings/analytics/${providerId}`
|
|
348
|
+
},
|
|
349
|
+
catalog: "/settings/catalog",
|
|
350
|
+
emailStatuses: "/settings/email-statuses",
|
|
351
|
+
createFavicon: "/settings/favicon/image",
|
|
352
|
+
inventory: {
|
|
353
|
+
path: "/settings/inventory",
|
|
354
|
+
notifications: "/settings/inventory/notifications"
|
|
355
|
+
},
|
|
356
|
+
logo: {
|
|
357
|
+
path: "/settings/logo",
|
|
358
|
+
image: "/settings/logo/image"
|
|
359
|
+
},
|
|
360
|
+
filters: {
|
|
361
|
+
enabled: "/settings/search/filters",
|
|
362
|
+
available: "/settings/search/filters/available",
|
|
363
|
+
contextual: "/settings/search/filters/contexts"
|
|
364
|
+
},
|
|
365
|
+
locale: "/settings/locale",
|
|
366
|
+
profile: "/settings/profile",
|
|
367
|
+
storefront: {
|
|
368
|
+
category: "/settings/storefront/category",
|
|
369
|
+
product: "/settings/storefront/product",
|
|
370
|
+
robotstxt: "/settings/storefront/robotstxt",
|
|
371
|
+
search: "/settings/storefront/search",
|
|
372
|
+
security: "/settings/storefront/security",
|
|
373
|
+
seo: "/settings/storefront/seo",
|
|
374
|
+
status: "/settings/storefront/status",
|
|
375
|
+
uom: "/settings/storefront/units-of-measurement"
|
|
376
|
+
}
|
|
377
|
+
};
|
|
378
|
+
var shippingV2 = {
|
|
379
|
+
carrierConnections: "/shipping/carrier/connection",
|
|
380
|
+
methods: {
|
|
381
|
+
path: (zoneId) => `/shipping/zones/${zoneId}/methods`,
|
|
382
|
+
byId: (zoneId, id) => `/shipping/zones/${zoneId}/methods/${id}`
|
|
383
|
+
},
|
|
384
|
+
zones: {
|
|
385
|
+
path: "/shipping/zones",
|
|
386
|
+
byId: (id) => `/shipping/zones/${id}`
|
|
387
|
+
}
|
|
388
|
+
};
|
|
389
|
+
var shipping = {
|
|
390
|
+
v2: shippingV2,
|
|
391
|
+
customsInformation: "/shipping/products/customs-information",
|
|
392
|
+
settings: {
|
|
393
|
+
global: "/shipping/settings",
|
|
394
|
+
channel: (channelId) => `/shipping/settings/${channelId}`
|
|
395
|
+
}
|
|
396
|
+
};
|
|
397
|
+
var sites = {
|
|
398
|
+
path: "/sites",
|
|
399
|
+
byId: (id) => `/sites/${id}`,
|
|
400
|
+
certificates: {
|
|
401
|
+
all: "/sites/certificates",
|
|
402
|
+
forSite: (id) => `/sites/${id}/certificates`
|
|
403
|
+
},
|
|
404
|
+
routes: {
|
|
405
|
+
path: (siteId) => `/sites/${siteId}/routes`,
|
|
406
|
+
byId: (siteId, id) => `/sites/${siteId}/routes/${id}`
|
|
407
|
+
}
|
|
408
|
+
};
|
|
409
|
+
var store = {
|
|
410
|
+
v2: {
|
|
411
|
+
info: "/store",
|
|
412
|
+
time: "/time"
|
|
413
|
+
},
|
|
414
|
+
metafields: {
|
|
415
|
+
batch: "/store/metafields",
|
|
416
|
+
path: (id) => `/store/metafields/${id}`,
|
|
417
|
+
byId: (storeId, id) => `/store/metafields/${storeId}/${id}`
|
|
418
|
+
},
|
|
419
|
+
logs: "/store/systemlogs"
|
|
420
|
+
};
|
|
421
|
+
var tax = {
|
|
422
|
+
v2: {
|
|
423
|
+
classes: {
|
|
424
|
+
path: "/tax_classes",
|
|
425
|
+
byId: (id) => `/tax_classes/${id}`
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
customers: "/tax/customers",
|
|
429
|
+
rates: "/tax/rates",
|
|
430
|
+
zones: "/tax/zones",
|
|
431
|
+
properties: "/tax/properties",
|
|
432
|
+
productProperties: "/tax/products/properties",
|
|
433
|
+
settings: "/tax/settings"
|
|
434
|
+
};
|
|
435
|
+
var wishlists = {
|
|
436
|
+
path: "/wishlists",
|
|
437
|
+
byId: (id) => `/wishlists/${id}`,
|
|
438
|
+
items: {
|
|
439
|
+
delete: (id, itemId) => `/wishlists/${id}/items/${itemId}`,
|
|
440
|
+
add: (id) => `/wishlists/${id}/items`
|
|
441
|
+
}
|
|
442
|
+
};
|
|
443
|
+
var webhooks = {
|
|
444
|
+
path: "/hooks",
|
|
445
|
+
byId: (id) => `/hooks/${id}`,
|
|
446
|
+
admin: "/hooks/admin",
|
|
447
|
+
upsertEmailNotifications: "/hooks/admin"
|
|
448
|
+
};
|
|
449
|
+
var bc = {
|
|
450
|
+
catalogSummary,
|
|
451
|
+
products,
|
|
452
|
+
modifiers,
|
|
453
|
+
variantOptions,
|
|
454
|
+
variants,
|
|
455
|
+
brands,
|
|
456
|
+
categories,
|
|
457
|
+
trees,
|
|
458
|
+
abandonedCarts,
|
|
459
|
+
carts,
|
|
460
|
+
channels,
|
|
461
|
+
checkouts,
|
|
462
|
+
currencies,
|
|
463
|
+
customers,
|
|
464
|
+
customerSegmentation,
|
|
465
|
+
geography,
|
|
466
|
+
inventory,
|
|
467
|
+
locations,
|
|
468
|
+
orders,
|
|
469
|
+
priceLists,
|
|
470
|
+
promotions,
|
|
471
|
+
redirects,
|
|
472
|
+
scripts,
|
|
473
|
+
settings,
|
|
474
|
+
shipping,
|
|
475
|
+
sites,
|
|
476
|
+
store,
|
|
477
|
+
tax,
|
|
478
|
+
wishlists,
|
|
479
|
+
webhooks
|
|
480
|
+
};
|
|
481
|
+
export {
|
|
482
|
+
bc,
|
|
483
|
+
customerSegmentation,
|
|
484
|
+
geography
|
|
485
|
+
};
|
|
486
|
+
//# sourceMappingURL=endpoints.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/endpoints.ts"],
|
|
4
|
+
"sourcesContent": ["const catalogSummary = '/catalog/summary';\n\nconst products = {\n path: '/catalog/products',\n byId: (id: number) => `/catalog/products/${id}`,\n batchPrices: '/pricing/products',\n metafields: {\n batch: '/catalog/products/metafields',\n product: {\n path: (productId: number) => `/catalog/products/${productId}/metafields`,\n byId: (productId: number, id: number) => `/catalog/products/${productId}/metafields/${id}`,\n },\n },\n bulkPricingRules: {\n path: (productId: number) => `/catalog/products/${productId}/bulk-pricing-rules`,\n byId: (productId: number, id: number) => `/catalog/products/${productId}/bulk-pricing-rules/${id}`,\n },\n categoryAssignments: '/catalog/products/category-assignments',\n channelAssignments: '/catalog/products/channel-assignments',\n complexRules: {\n path: (productId: number) => `/catalog/products/${productId}/complex-rules`,\n byId: (productId: number, id: number) => `/catalog/products/${productId}/complex-rules/${id}`,\n },\n customFields: {\n path: (productId: number) => `/catalog/products/${productId}/custom-fields`,\n byId: (productId: number, id: number) => `/catalog/products/${productId}/custom-fields/${id}`,\n },\n images: {\n path: (productId: number) => `/catalog/products/${productId}/images`,\n byId: (productId: number, id: number) => `/catalog/products/${productId}/images/${id}`,\n },\n reviews: {\n path: (productId: number) => `/catalog/products/${productId}/reviews`,\n byId: (productId: number, id: number) => `/catalog/products/${productId}/reviews/${id}`,\n },\n videos: {\n path: (productId: number) => `/catalog/products/${productId}/videos`,\n byId: (productId: number, id: number) => `/catalog/products/${productId}/videos/${id}`,\n },\n};\n\nconst modifiers = {\n path: (productId: number) => `/catalog/products/${productId}/modifiers`,\n byId: (productId: number, id: number) => `/catalog/products/${productId}/modifiers/${id}`,\n values: {\n path: (productId: number, modifierId: number) =>\n `/catalog/products/${productId}/modifiers/${modifierId}/values`,\n byId: (productId: number, modifierId: number, id: number) =>\n `/catalog/products/${productId}/modifiers/${modifierId}/values/${id}`,\n createImage: (productId: number, modifierId: number, id: number) =>\n `/catalog/products/${productId}/modifiers/${modifierId}/values/${id}/image`,\n },\n};\n\nconst variantOptions = {\n path: (productId: number) => `/catalog/products/${productId}/options`,\n byId: (productId: number, id: number) => `/catalog/products/${productId}/options/${id}`,\n values: {\n path: (productId: number, optionId: number) => `/catalog/products/${productId}/options/${optionId}/values`,\n byId: (productId: number, optionId: number, id: number) =>\n `/catalog/products/${productId}/options/${optionId}/values/${id}`,\n },\n};\n\nconst variants = {\n batch: '/catalog/variants',\n path: (productId: number) => `/catalog/products/${productId}/variants`,\n byId: (productId: number, id: number) => `/catalog/products/${productId}/variants/${id}`,\n createImage: (productId: number, id: number) => `/catalog/products/${productId}/variants/${id}/image`,\n metafields: {\n batch: '/catalog/variants/metafields',\n path: (productId: number, id: number) => `/catalog/products/${productId}/variants/${id}/metafields`,\n byId: (productId: number, variantId: number, id: number) =>\n `/catalog/products/${productId}/variants/${variantId}/metafields/${id}`,\n },\n};\n\nconst brands = {\n path: '/catalog/brands',\n byId: (id: number) => `/catalog/brands/${id}`,\n image: (id: number) => `/catalog/brands/${id}/image`,\n metafields: {\n batch: '/catalog/brands/metafields',\n path: (id: number) => `/catalog/brands/${id}/metafields`,\n byId: (brandId: number, id: number) => `/catalog/brands/${brandId}/metafields/${id}`,\n },\n};\n\nconst categories = {\n deprecated: {\n path: '/catalog/categories',\n byId: (id: number) => `/catalog/categories/${id}`,\n },\n image: (id: number) => `/catalog/categories/${id}/image`,\n metafields: {\n batch: '/catalog/categories/metafields',\n path: (id: number) => `/catalog/categories/${id}/metafields`,\n byId: (categoryId: number, id: number) => `/catalog/categories/${categoryId}/metafields/${id}`,\n },\n sortOrder: (id: number) => `/catalog/categories/${id}/products/sort-order`,\n};\n\nconst trees = {\n path: '/catalog/trees',\n byId: (id: number) => `/catalog/trees/${id}`,\n categories: (id: number) => `/catalog/trees/${id}/categories`,\n allCategories: '/catalog/trees/categories',\n};\n\nconst abandonedCarts = {\n path: (token: string) => `/abandoned-carts/${token}`,\n settings: {\n global: '/abandoned-carts/settings',\n channel: (channelId: number) => `/abandoned-carts/settings/${channelId}`,\n },\n};\n\nconst carts = {\n path: '/carts',\n byId: (uuid: string) => `/carts/${uuid}`,\n createRedirectUrl: (uuid: string) => `/carts/${uuid}/redirect_urls`,\n items: {\n path: (uuid: string) => `/carts/${uuid}/items`,\n byId: (cartUuid: string, itemUuid: string) => `/carts/${cartUuid}/items/${itemUuid}`,\n },\n metafields: {\n batch: '/carts/metafields',\n path: (uuid: string) => `/carts/${uuid}/metafields`,\n byId: (cartUuid: string, metafieldUuid: string) => `/carts/${cartUuid}/metafields/${metafieldUuid}`,\n },\n settings: {\n global: '/carts/settings',\n channel: (channelId: number) => `/carts/settings/${channelId}`,\n },\n};\n\nconst channels = {\n path: '/channels',\n byId: (id: number) => `/channels/${id}`,\n activeTheme: (id: number) => `/channels/${id}/active-theme`,\n site: (id: number) => `/channels/${id}/site`,\n menus: (id: number) => `/channels/${id}/channel-menus`,\n checkoutUrl: (id: number) => `/channels/${id}/site/checkout-url`,\n currencyAssignments: {\n path: (id: number) => `/channels/${id}/currency-assignments`,\n byId: (channelId: number, id: number) => `/channels/${channelId}/currency-assignments/${id}`,\n },\n listings: {\n path: (id: number) => `/channels/${id}/listings`,\n byId: (channelId: number, id: number) => `/channels/${channelId}/listings/${id}`,\n },\n metafields: {\n batch: '/channels/metafields',\n path: (id: number) => `/channels/${id}/metafields`,\n byId: (channelId: number, id: number) => `/channels/${channelId}/metafields/${id}`,\n },\n};\n\nconst checkouts = {\n path: (uuid: string) => `/checkouts/${uuid}`,\n billingAddress: (uuid: string) => `/checkouts/${uuid}/billing-address`,\n consignments: {\n path: (uuid: string) => `/checkouts/${uuid}/consignments`,\n byId: (checkoutUuid: string, consignmentUuid: string) =>\n `/checkouts/${checkoutUuid}/consignments/${consignmentUuid}`,\n },\n coupons: {\n add: (uuid: string) => `/checkouts/${uuid}/coupons`,\n delete: (uuid: string, code: string) => `/checkouts/${uuid}/coupons/${code}`,\n },\n discounts: (uuid: string) => `/checkouts/${uuid}/discounts`,\n fees: (uuid: string) => `/checkouts/${uuid}/fees`,\n createOrder: (uuid: string) => `/checkouts/${uuid}/orders`,\n settings: '/checkouts/settings',\n createToken: (uuid: string) => `/checkouts/${uuid}/token`,\n};\n\nconst currencies = {\n v2: {\n path: '/currencies',\n byId: (id: string) => `/currencies/${id}`,\n },\n};\n\nconst customers = {\n path: '/customers',\n addresses: '/customers/addresses',\n attributes: '/customers/attributes',\n attributesValues: '/customers/attribute-values',\n settings: {\n channel: (channelId: number) => `/customers/settings/channels/${channelId}`,\n global: '/customers/settings',\n },\n consent: (id: number) => `/customers/${id}/consent`,\n formFieldValues: '/customers/form-field-values',\n storedInstruments: (id: number) => `/customers/${id}/stored-instruments`,\n validateCredentials: '/customers/validate-credentials',\n metafields: {\n batch: '/customers/metafields',\n path: (id: number) => `/customers/${id}/metafields`,\n byId: (customerId: number, id: number) => `/customers/${customerId}/metafields/${id}`,\n },\n v2: {\n groups: {\n path: '/customer_groups',\n byId: (id: number) => `/customer_groups/${id}`,\n count: '/customer_groups/count',\n },\n deprecated: {\n path: '/customers',\n byId: (id: number) => `/customers/${id}`,\n addresses: {\n path: (id: number) => `/customers/${id}/addresses`,\n byId: (customerId: number, id: number) => `/customers/${customerId}/addresses/${id}`,\n },\n validatePassword: (id: number) => `/customers/${id}/validate_password`,\n },\n },\n subscribers: {\n path: '/customers/subscribers',\n byId: (id: number) => `/customers/subscribers/${id}`,\n },\n};\n\nexport const customerSegmentation = {\n segments: '/segments',\n shopperProfileSegments: (profileId: string) => `/shopper-profiles/${profileId}/segments`,\n shopperProfiles: '/shopper-profiles',\n segmentShopperProfiles: (segmentId: string) => `/segments/${segmentId}/shopper-profiles`,\n};\n\nexport const geography = {\n v2: {\n countries: {\n path: '/countries',\n byId: (id: string) => `/countries/${id}`,\n count: '/countries/count',\n states: {\n path: (id: string) => `/countries/${id}/states`,\n byId: (countryId: string, id: string) => `/countries/${countryId}/states/${id}`,\n count: (countryId: string) => `/countries/${countryId}/states/count`,\n },\n },\n states: {\n path: '/countries/states',\n count: '/countries/states/count',\n },\n },\n};\n\nconst inventory = {\n adjustments: {\n absolute: '/inventory/adjustments/absolute',\n relative: '/inventory/adjustments/relative',\n },\n items: {\n path: '/inventory/items',\n atLocation: (locationId: string) => `/inventory/locations/${locationId}/items`,\n updateLocationSettings: (locationId: string) => `/inventory/locations/${locationId}/items`,\n },\n};\n\nconst locations = {\n path: '/inventory/locations',\n metafields: {\n batch: '/inventory/locations/metafields',\n path: (id: string) => `/inventory/locations/${id}/metafields`,\n byId: (locationId: string, id: string) => `/inventory/locations/${locationId}/metafields/${id}`,\n },\n};\n\nconst ordersV2 = {\n path: '/orders',\n byId: (id: number) => `/orders/${id}`,\n count: '/orders/count',\n consignments: {\n path: (id: number) => `/orders/${id}/consignments`,\n shippingQuotes: (orderId: number, consignmentId: number) =>\n `/orders/${orderId}/consignments/shipping/${consignmentId}/shipping_quotes`,\n },\n coupons: (id: number) => `/orders/${id}/coupons`,\n fees: (id: number) => `/orders/${id}/fees`,\n messages: (id: number) => `/orders/${id}/messages`,\n products: {\n path: (id: number) => `/orders/${id}/products`,\n byId: (orderId: number, id: number) => `/orders/${orderId}/products/${id}`,\n },\n shipments: {\n path: (id: number) => `/orders/${id}/shipments`,\n count: (id: number) => `/orders/${id}/shipments/count`,\n byId: (orderId: number, id: number) => `/orders/${orderId}/shipments/${id}`,\n },\n shippingAddresses: {\n path: (id: number) => `/orders/${id}/shipping_addresses`,\n byId: (orderId: number, id: number) => `/orders/${orderId}/shipping_addresses/${id}`,\n quotes: (orderId: number, id: number) => `/orders/${orderId}/shipping_addresses/${id}/shipping_quotes`,\n },\n statuses: {\n path: '/order_statuses',\n byId: (id: number) => `/order_statuses/${id}`,\n },\n taxes: (id: number) => `/orders/${id}/taxes`,\n};\n\nconst orders = {\n v2: ordersV2,\n transactions: (id: number) => `/orders/${id}/transactions`,\n metafields: {\n batch: '/orders/metafields',\n path: (id: number) => `/orders/${id}/metafields`,\n byId: (orderId: number, id: number) => `/orders/${orderId}/metafields/${id}`,\n },\n settings: {\n global: '/orders/settings',\n channel: (channelId: number) => `/orders/settings/${channelId}`,\n },\n payments: {\n capture: (id: number) => `/orders/${id}/payment_actions/capture`,\n void: (id: number) => `/orders/${id}/payment_actions/void`,\n },\n refunds: {\n path: '/orders/payment_actions/refunds',\n byId: (refundId: number) => `/orders/payment_actions/refunds/${refundId}`,\n quote: (id: number) => `/orders/${id}/payment_actions/refund_quote`,\n forOrder: (id: number) => `/orders/${id}/payment_actions/refunds`,\n },\n pickups: {\n path: '/orders/pickups',\n methods: '/pickup/methods',\n options: '/pickup/options',\n },\n};\n\nconst priceLists = {\n path: '/pricelists',\n byId: (id: number) => `/pricelists/${id}`,\n assignments: {\n path: '/pricelists/assignments',\n byId: (id: number) => `/pricelists/assignments/${id}`,\n },\n records: {\n path: '/pricelists/records',\n forList: (id: number) => `/pricelists/${id}/records`,\n byVariant: (listId: number, variantId: number) => `/pricelists/${listId}/records/${variantId}`,\n byCurrency: (listId: number, variantId: number, currencyCode: string) =>\n `/pricelists/${listId}/records/${variantId}/${currencyCode}`,\n },\n};\n\nconst promotions = {\n path: '/promotions',\n byId: (id: number) => `/promotions/${id}`,\n coupons: {\n path: (promotionId: number) => `/promotions/${promotionId}/codes`,\n byId: (promotionId: number, id: number) => `/promotions/${promotionId}/codes/${id}`,\n },\n settings: '/promotions/settings',\n};\n\nconst redirects = {\n path: '/storefront/redirects',\n imexJobs: '/storefront/redirects/imex/jobs',\n createExportJob: '/storefront/redirects/imex/export',\n createImportJob: '/storefront/redirects/imex/import',\n exportEventStream: (jobUuid: string) => `/storefront/redirects/imex/export/${jobUuid}/events`,\n importEventStream: (jobUuid: string) => `/storefront/redirects/imex/import/${jobUuid}/events`,\n downloadExport: (jobUuid: string) => `/storefront/redirects/imex/export/${jobUuid}/download`,\n};\n\nconst scripts = {\n path: '/content/scripts',\n byId: (uuid: string) => `/content/scripts/${uuid}`,\n};\n\nconst settings = {\n analytics: {\n providers: '/settings/analytics',\n provider: (providerId: string) => `/settings/analytics/${providerId}`,\n },\n catalog: '/settings/catalog',\n emailStatuses: '/settings/email-statuses',\n createFavicon: '/settings/favicon/image',\n inventory: {\n path: '/settings/inventory',\n notifications: '/settings/inventory/notifications',\n },\n logo: {\n path: '/settings/logo',\n image: '/settings/logo/image',\n },\n filters: {\n enabled: '/settings/search/filters',\n available: '/settings/search/filters/available',\n contextual: '/settings/search/filters/contexts',\n },\n locale: '/settings/locale',\n profile: '/settings/profile',\n storefront: {\n category: '/settings/storefront/category',\n product: '/settings/storefront/product',\n robotstxt: '/settings/storefront/robotstxt',\n search: '/settings/storefront/search',\n security: '/settings/storefront/security',\n seo: '/settings/storefront/seo',\n status: '/settings/storefront/status',\n uom: '/settings/storefront/units-of-measurement',\n },\n};\n\nconst shippingV2 = {\n carrierConnections: '/shipping/carrier/connection',\n methods: {\n path: (zoneId: number) => `/shipping/zones/${zoneId}/methods`,\n byId: (zoneId: number, id: number) => `/shipping/zones/${zoneId}/methods/${id}`,\n },\n zones: {\n path: '/shipping/zones',\n byId: (id: number) => `/shipping/zones/${id}`,\n },\n};\n\nconst shipping = {\n v2: shippingV2,\n customsInformation: '/shipping/products/customs-information',\n settings: {\n global: '/shipping/settings',\n channel: (channelId: number) => `/shipping/settings/${channelId}`,\n },\n};\n\nconst sites = {\n path: '/sites',\n byId: (id: number) => `/sites/${id}`,\n certificates: {\n all: '/sites/certificates',\n forSite: (id: number) => `/sites/${id}/certificates`,\n },\n routes: {\n path: (siteId: number) => `/sites/${siteId}/routes`,\n byId: (siteId: number, id: number) => `/sites/${siteId}/routes/${id}`,\n },\n};\n\nconst store = {\n v2: {\n info: '/store',\n time: '/time',\n },\n metafields: {\n batch: '/store/metafields',\n path: (id: number) => `/store/metafields/${id}`,\n byId: (storeId: number, id: number) => `/store/metafields/${storeId}/${id}`,\n },\n logs: '/store/systemlogs',\n};\n\nconst tax = {\n v2: {\n classes: {\n path: '/tax_classes',\n byId: (id: number) => `/tax_classes/${id}`,\n },\n },\n customers: '/tax/customers',\n rates: '/tax/rates',\n zones: '/tax/zones',\n properties: '/tax/properties',\n productProperties: '/tax/products/properties',\n settings: '/tax/settings',\n};\n\nconst wishlists = {\n path: '/wishlists',\n byId: (id: number) => `/wishlists/${id}`,\n items: {\n delete: (id: number, itemId: number) => `/wishlists/${id}/items/${itemId}`,\n add: (id: number) => `/wishlists/${id}/items`,\n },\n};\n\nconst webhooks = {\n path: '/hooks',\n byId: (id: number) => `/hooks/${id}`,\n admin: '/hooks/admin',\n upsertEmailNotifications: '/hooks/admin',\n};\n\nexport const bc = {\n catalogSummary,\n products,\n modifiers,\n variantOptions,\n variants,\n brands,\n categories,\n trees,\n abandonedCarts,\n carts,\n channels,\n checkouts,\n currencies,\n customers,\n customerSegmentation,\n geography,\n inventory,\n locations,\n orders,\n priceLists,\n promotions,\n redirects,\n scripts,\n settings,\n shipping,\n sites,\n store,\n tax,\n wishlists,\n webhooks,\n};\n"],
|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