bc-api-client 0.1.0-beta.1 → 0.1.0-beta.10

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